ImportError: Kein Modul mit dem Namen numpy
Ich versuche, ein Programm auszuführen, für das Numpy installiert sein muss. Ich dachte schon, wenn ich es versuchesudo apt-get install python-numpy
es sagt mir das
sudo apt-get install python-numpy
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-numpy is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Wenn ich dann das Programm installiere, das ich versuche (in dem Programmverzeichnis, in dem sich setup.py befindet), erhalte ich:
python setup.py install
Traceback (most recent call last):
File "setup.py", line 20, in <module>
from weblogolib import __version__
File "/home/chris/Documents/IS/Bioinformatics-Software/weblogo-3.3/weblogolib/__init__.py", line 108, in <module>
from numpy import array, asarray, float64, ones, zeros, int32,all,any, shape
ImportError: No module named numpy
Wenn ich in das Verzeichnis Python-2.7.3 / Lib / site-packages schaue, ist das einzige, was darin enthalten ist, eine README-Datei. Sollte da nicht etwas von Numpy (und anderen installierten Python-Modulen) drin sein?
Ich verwende Ubuntu 12.04 mit Python 2.7
Verwendendpkg -l python-numpy
Ich bekomme:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii python-numpy 1:1.6.1-6ubunt Numerical Python adds a fast array facility