【发布时间】:2011-09-21 01:31:35
【问题描述】:
(注意:请参阅this other post 了解为什么我不使用 dpkg/apt-get/etc. 进行此安装。)
我可以在 Debian 上的 virtualenv 中安装 numpy,例如 pip:
(base)[1778]% pip -v install numpy
Downloading/unpacking numpy
...
<output omitted>
...
Successfully installed numpy
Cleaning up...
Removing temporary dir /home/jones/.virtualenvs/base/build...
但紧随其后:
(base)[1779]% python
Python 2.7.1 (r271:86832, Jun 22 2011, 15:39:05)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
>>> ^D
有什么想法吗?
【问题讨论】:
标签: python numpy scipy pip easy-install