Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/300.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在python中导入表时出错_Python_Linker Errors_Importerror_Pytables - Fatal编程技术网

在python中导入表时出错

在python中导入表时出错,python,linker-errors,importerror,pytables,Python,Linker Errors,Importerror,Pytables,我已经在windows 32位下安装了python 2.6、numpy 1.6.1、tables 2.3.1和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"

我已经在windows 32位下安装了python 2.6、numpy 1.6.1、tables 2.3.1和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.
回溯(最近一次呼叫最后一次):
文件“…\src\test\test6.py”,第1行,在
导入表
文件“C:\Python26\Lib\site packages\tables\\uuuu init\uuuuu.py”,第96行,在
从tables.file导入文件、openFile、copyFile
文件“C:\Python26\lib\site packages\tables\File.py”,第42行,在
导入numexpr
文件“C:\Python26\Lib\site packages\numexpr\\uuuuu init\uuuuuu.py”,第38行,在
从numexpr.expressions导入E
文件“C:\Python26\Lib\site packages\numexpr\expressions.py”,第31行,在
从numexpr导入解释器
ImportError:DLL加载失败:找不到指定的模块。

您需要编译解释器.c,这在windows中并不容易。如果使用numexpr 1.4可以吗?您可以通过这种方式使用预编译安装程序

从哪里获得“表”(我没听说过它)?你试过阅读他们的文档吗?看起来有什么东西安装不正确。