我在windows 32bits下安装了python 2.6,numpy 1.6.1,表2.3.1 y numexpr 2.0。但是导入表格给了我这个错误:
Traceback (most recent call last):
File "...\src\test\test6.py", line 1, in <module>
import tables
File "C:\Python26\Lib\site-packages\tables\__init__.py", line 96, in <module>
from tables.file import File, openFile, copyFile
File "C:\Python26\lib\site-packages\tables\file.py", line 42, in <module>
import numexpr
File "C:\Python26\Lib\site-packages\numexpr\__init__.py", line 38, in <module>
from numexpr.expressions import E
File "C:\Python26\Lib\site-packages\numexpr\expressions.py", line 31, in <module>
from numexpr import interpreter
ImportError: DLL load failed: The specified module could not be found.
答案 0 :(得分:1)
你需要编译interpreter.c,这在windows中并不那么容易。如果你使用了numexpr 1.4会没问题吗?您可以使用http://code.google.com/p/numexpr/downloads/list
方式的预编译安装程序