[pymvpa] Installing PyMVPA2 using pip: py3tool ImportError

Nick Oosterhof n.n.oosterhof at googlemail.com
Fri May 15 09:41:13 UTC 2015


On 15 May 2015, at 11:21, Yen Yu <yen.yu.10 at ucl.ac.uk> wrote:

> I tried to install pymvpa2 in Mac OSX Yosemite using pip3. The python version is 3.4.3, and pip3 is 6.1.1.
> The installation failed with an ImportError, saying "No module named 'py3tool'".
> 
> Does anyone know how to deal with this error? Many thanks.
> 
> Complete error message is as follows:
> 
> […]
>       File "/private/tmp/pip-build-bk71dghj/pymvpa2/setup.py", line 127, in setup_package
>         import py3tool
>     ImportError: No module named ‘py3tool'

py3tool is in the root directory of the PyMVPA package. 

Did you add the PyMVPA root directory to the PYTHONPATH environmental variable?

For example, if PyMVPA is in /home/mike/git/PyMVPA, you could do

export PYTHONPATH=${PYTHONPATH}:/home/mike/git/PyMVPA

Also, if you add this line to .bash_profile (in your home directory), this will be executed automatically every time you open a new Terminal window






More information about the Pkg-ExpPsy-PyMVPA mailing list