LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   python error , import numpy (http://www.linuxquestions.org/questions/programming-9/python-error-import-numpy-665270/)

ufmale 08-25-2008 11:55 AM

python error , import numpy
 
I am trying to run a software that use python. However, i got an error that
I don't have the numpy module.
Quote:


import numpy
ImportError: No module named numpy

Is this a standard python module that I can download from the net?

I installed python-numarray and python-numeric via yum, but still get this error. Can someone suggest if I should go back and ask the software owner
or try to download some python module?

knudfl 08-25-2008 02:11 PM

It seems that 'numpy' is in package
'python-numpy'

Google : keyword .. numpy rpm ..
is "finding" files inside an rpm package
and also finding the package.

NumPy Home Page
http://numpy.scipy.org/

http://sourceforge.net/project/showf...kage_id=175103
The source (numpy-1.1.1.tar.gz) can be
installed (after unpack) with
# 'python setup.py install'
if you can't find a package.

Good Luck.

ufmale 08-25-2008 11:59 PM

That works, Thank you.


All times are GMT -5. The time now is 02:39 PM.