[pymvpa] Trouble running pyMVPA on Mac OS 10.6.6
Thad Polk
tpolk at umich.edu
Wed Oct 26 12:16:58 UTC 2011
I'd like to try out pyMVPA on my Mac but am having trouble getting
started. Following the directions at
http://www.pymvpa.org/installation.html#install-macos
I first installed the XCode developer tools, added opt/local/bin and
/opt/local/sbin to my PATH and then issued the command
$ sudo port install py26-pymvpa +scipy +nibabel +hcluster +libsvm
+matplotlib +pywavelet
which seemed to run through everything although I didn't watch every line
of output so it's possible something didn't work (BTW: the
documentation mentions py25-pymvpa but that version was not found).
The subsequent commands from the installation instructions yield the
following output:
$ port variants py26-pymvpa
py26-pymvpa has the variants:
gcc43: build with gcc 4.3
* conflicts with gcc44
[+]gcc44: build with gcc 4.4
* conflicts with gcc43
gcc45: build with gcc 4.5
* conflicts with gcc43 gcc44
no_shogun: Do not build shogun
universal: Build for multiple architectures
$ sudo port install python_select
---> Cleaning python_select
$ sudo python_select python26
sudo: python_select: command not found
Despite this last error, I can start up python and run it (but I
already had Python installed, so this does not prove that the pyMPVA
installation worked):
$ python
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
However, when I then try to import mvpa2 (or mvpa2.tutorial_suite, or
mvpa), python can't find the modules:
>>> import mvpa2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named mvpa2
>>> from mvpa2.tutorial_suite import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named mvpa2.tutorial_suite
>>> import mpva
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named mpva
>>>
I went digging around on my machine and found the following tarball:
py26-pymvpa-0.4_0+gcc44.darwin_10.x86_64.tbz2 in
/opt/local/var/macports/software/py26-pymvpa. I also found a number of
mvpa-related python files in /opt/local/share/doc/mvpa/examples.
Thoughts?
Thanks,
Thad
More information about the Pkg-ExpPsy-PyMVPA
mailing list