[pymvpa] error py26-pywavelets installation on snow leopard Mac

John Magnotti john.magnotti at gmail.com
Tue Jan 18 04:11:27 UTC 2011


I'm with Yaroslav on this one, multiple versions of Python inside of
macports will almost certainly lead to compiler/linker errors. I
looked at the log file and it looks like it's trying to use python
2.6, which makes sense because you're installing py26-pywavelets, not
py27... Removing python 2.6 is a *bad* idea though, unless you know
all the things that depend on it. Further, removing 2.6 doesn't mean
the packages built for 2.6 will fall back on 2.7.

I'll try again tomorrow once I have my machine with me. I may remove
macports and try again from scratch so we can have the full process
documented. This should be a relatively easy setup, else I may have to
stop calling os x unix-like.


John



On Mon, Jan 17, 2011 at 7:11 PM, Yaroslav Halchenko
<debian at onerussian.com> wrote:
> once again -- I have close to none experience with osx, and afaik it is
> very easy to mess it up with all those multiple version of python laying
> around.
>
> /opt one iirc is indeed macports one, so if (theoretically) you want to
> install pymvpa via macports you should not mess with it by manually
> removing pieces of it (use port commands to manage the space of
> installed applications in macports)
>
> /Users/... one suggests that may be you have manually installed python
> (modules) and that is why you have two of them
>
> but what problem do you get if you try building pymvpa out of source
> with a simple 'make' ?
>
> On Tue, 18 Jan 2011, BumSeok Jeong wrote:
>
>>    Dear Yaroslav Halchenko,
>
>>    Thank you for your reply.
>
>>    Your recommendation seems to be reasonable.
>
>>    However, even if I type command without pywavelets, same error message
>>    came out.
>
>> sudo port install py26-pymvpa +scipy +pynifti +hcluster +libsvm +matplotlib +pywavelets +rpy2
>> OR
>> sudo port install py26-pymvpa
>
>> I think I'd rather uninstall python and reinstall it, and then install py26-pymvpa without pywavelets package. But I'm a very beginner in python. Please let me know how to do.
>> I found two directories of python 2.6 like below.
>> /Users/.../Library/Frameworks/Python.framework/Versions/2.6
>> /opt/local/Library/Frameworks/Python.framework/Versions/2.6    <- may be installed by Macport
>> Could I just delete those directories to uninstall python2.6?
>
>> Thank you,
>
>> Jeong
>> > I have also no clue in macports but may be it would be of help:
>
>> pywavelets is very optional, and pymvpa should function without it just
>> fine (just without wavelet mappers).  so if you could enforce
>> installation without pywavelets at all -- it might get further.
>
>> if macports installation doesn't work, just try getting it from sources
>> directly -- should be just a matter of running two commands: 'git clone'
>> and 'make', if major dependencies got already installed (e.g. numpy,
>> scipy, etc)
>
>> _______________________________________________
>> Pkg-ExpPsy-PyMVPA mailing list
>> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>
>
> --
> =------------------------------------------------------------------=
> Keep in touch                                     www.onerussian.com
> Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic
>
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>



More information about the Pkg-ExpPsy-PyMVPA mailing list