我使用 .whl 安装了 numexpr 和 pytable。安装看起来不错,但 dll 导入失败不断出现。以下是安装细节。
PS E:\> pip install --use-wheel --no-index --find-links=.\ numexpr-2.4-cp27-none-win32.whl
Ignoring indexes: https://pypi.python.org/simple
Processing e:\numexpr-2.4-cp27-none-win32.whl
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6 in c:\python27\lib\site-packages\numpy-1.7.0-py2.7-
win32.egg (from numexpr==2.4)
Installing collected packages: numexpr
--- 在 pytable 中使用 numexpr 时 ---
E:\bf\pycon2013-master\pycon2013-master>python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from numexpr import interpreter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\numexpr\__init__.py", line 41, in <module>
from numexpr.expressions import E
File "C:\Python27\lib\site-packages\numexpr\expressions.py", line 46, in <modu
le>
from numexpr import interpreter
ImportError: DLL load failed: The specified module could not be found.