我正在尝试运行需要安装Numpy的程序。我以为是这样,因为如果尝试,sudo apt-get install python-numpy它会告诉我
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.
Run Code Online (Sandbox Code Playgroud)
但是当我尝试安装程序时(在该程序目录中,setup.py所在的位置),我得到:
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
Run Code Online (Sandbox Code Playgroud)
当我在Python-2.7.3 …