[pymvpa] Problem installing on Mac OS X using MacPorts

Christian Fiebach fiebach at uni-heidelberg.de
Thu Dec 10 16:13:16 UTC 2009


Thanks Anna,

installing as you suggested fully using py26 worked, with your  
commands given below. Thanks!!!

However, my first steps in pyMVPA continue to be difficult:

When I start python and try to follow the installation website or the  
getting started manual,
python produces either error messages or crashes:

 From the installation web site: Deprecation Warning @ import and  
NameError for the very first command.

fiebach$ python
Python 2.6.4 (r264:75706, Dec  8 2009, 01:05:52)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import mvpa
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/ 
python2.6/site-packages/mvpa/base/verbosity.py:19: DeprecationWarning:  
the sets module is deprecated
   from sets import Set
 >>> attr = SampleAttributes(os.path.join(pymvpa_dataroot,  
'attributes.txt'))
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
NameError: name 'SampleAttributes' is not defined
 >>>


 From the Getting Started section of the Manual: Deprecatin error and  
python crash

fiebach$ python
Python 2.6.4 (r264:75706, Dec  8 2009, 01:05:52)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> from mvpa.suite import *
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/ 
python2.6/site-packages/mvpa/base/verbosity.py:19: DeprecationWarning:  
the sets module is deprecated
   from sets import Set
Python(673) malloc: *** error for object 0x7fff70e8b500: pointer being  
freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap
fiebach$


Just to make sure: My path seems to look fine. The export command is  
currently in .profile,
not in .bash_profile as suggested in the installation section:

fiebach$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ 
local/bin:/usr/X11/bin



Unfortunately, I am just starting to use python and therefore my  
debugging abilities
are not very advanced at present. I am greatful for any input you can  
give me right
now!

Thanks in advance,

Christian


Am 08.12.2009 um 14:57 schrieb Anna Manelis:

> Christian,
> I am not an expert, but I managed to install PYMVPA on my Snow  
> Leopard by doing
> sudo port install py26-pil py26-numpy py26-scipy py26-ipython py26- 
> matplotlib +cairo+latex+tkinter  py26-pyobjc2-cocoa python_select
> sudo python_select python26
> And then
> sudo port install py26-pymvpa +scipy +pynifti +hcluster +libsvm  
> +matplotlib +pywavelet
> Although when I tried to install PYMVPA on Leopard, I encountered  
> the same problem as you (the installation involves py26 even though  
> I explicitly aske it to involve py25).
>
> Good luck,
> Anna.
>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20091210/a9b03814/attachment.htm>


More information about the Pkg-ExpPsy-PyMVPA mailing list