user5558875
user5558875

Reputation:

Python : ImportError: No module named numpy

I am trying to run the bash script and i am repeatedly incurring following error

File "/usr/share/fsl/5.0/bin/aff2rigid", line 75, in <module>
    from numpy import *
ImportError: No module named numpy

I have installed latest version of Numpy

dev@dev-OptiPlex-780:~$ sudo apt-get install python-numpy
python-numpy is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.

I do not understand why this error repeats when i have already installed the latest version of Numpy.

kindly let me know if there is something i am doing it wrong

Upvotes: 2

Views: 5882

Answers (1)

Andriy Ivaneyko
Andriy Ivaneyko

Reputation: 22021

Except installing python-numpy library you have to install numpy with pip or easy_install, one of commands below:

# install numpy with pip
pip install numpy

# install numpy with easy_install
easy_install numpy

Upvotes: 3

Related Questions