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

John Magnotti john.magnotti at gmail.com
Wed Jan 19 02:41:07 UTC 2011


It looks like there is simply an issue compiling pywavelets0.2.0. The
Portfile for pymvpa lists pywavelets as a dependency, thus removing
the +pywavelets does nothing.  So I see two fixes: 1) regress
pywavelets back to 0.1.6 or 2) remove the dependency on pywavelets.

Because Yaroslav mentioned that pywavelets is optional, either should
be fine. I went with #1, so I didn't have to mess with the pymvpa
Portfile. Instead, just change the version # in the py26-pywavelets
Portfile to 0.1.6, and adjust the checksums.


Assuming a vanilla macports installation.

cd /opt/local/var/macports/sources/rsync.macports.org/release/ports/
cd python/py26-pywavelets/
sudo open Portfile

change the version line to:
version             0.1.6

change the checksums to:
checksums           md5     d28ddb2c65f3c429f0d6bc72548584ab \
                    sha1    c12948178b5f4294408bb29424aa47fcd5d4fec9 \
                    rmd160  85cb2b0b6db8bf6b797ad36cb1341c673c442f18


I've attached a plain text file that goes over the steps in more detail.

Hope that helps,

John


On Mon, Jan 17, 2011 at 10:11 PM, John Magnotti <john.magnotti at gmail.com> wrote:
> 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
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pymvpa_wavelet_fix
Type: application/octet-stream
Size: 3437 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20110118/7d052086/attachment.obj>


More information about the Pkg-ExpPsy-PyMVPA mailing list