I would generally recommend using Anaconda. This is a Python package that includes the numpy and scipy packages that pymvpa needs in order to run properly. You can install it on your existing NeuroDebian system.

You have to install pymvpa outside of Python (http://www.pymvpa.org/installation.html). I recommend building from source, in which case you would use

brain@neurodebian:~$ git clone git://github.com/PyMVPA/PyMVPA.git
brain@neurodebian:~$ cd PyMVPA
brain@neurodebian:~$ python setup.py build_ext
brain@neurodebian:~$ python setup.py install--prefix /path/where/you/want/pymvpa/to/be/built

(note that these suggestions are taken from the pymvpa website and you should read the installation directions under "Building from Source" for completeness)

After you do this, and make sure that pymvpa is added to your python path, you can python into python and import mvpa2.


On 8/11/2016 8:14 PM, Juan Wu wrote:
HI List experts,

I attempted to install pyMVPA, but did not install it successfully. I use windows 7 - someone suggested me installing NeuroDebian virtual box. I did it, however, I am still stuck here. Perhaps the problem is that I have not installed python or ipython shell? If so, how?

For instance, when I enter ipython,

brain@neurodebian:~$ ipython
bash: ipython: command not found

Then I tried to enter python, it looks like that I have installed python.

brain@neurodebian:~$ python
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2

Type "help", "copyright", "credits" or "license" for more information.

But the problem is that I can not run the steps below to install pymvpa2. I am puzzled by this.

>>> import pymvpa2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pymvpa2

>>> pymvpa2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'pymvpa2' is not defined

Anyone can help? Thanks so much in advance.
Juan


_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to