安装pytables有问题

时间:2015-01-25 05:38:56

标签: python numpy pytables numexpr

我正在尝试安装pytable,但首先我必须将numpy和numexpr安装到我的Windows 7机器上,我试图安装numexpr-2.2.2这是发生了什么

Warning: Assuming default configuration (numexpr\tests/{setup_tests,setup}.py was not found)Appending numexpr.tests configuration to numexpr
Ignoring attempt to set 'name' (from 'numexpr' to 'numexpr.tests')
running install
running bdist_egg
running egg_info
running build_src
build_src
building py_modules sources
building extension "numexpr.interpreter" sources
build_src: building npy-pkg config files
writing numexpr.egg-info\PKG-INFO
writing top-level names to numexpr.egg-info\top_level.txt
writing dependency_links to numexpr.egg-info\dependency_links.txt
reading manifest file 'numexpr.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'numexpr\__config__.py'
warning: no previously-included files found matching 'RELEASING.txt'
writing manifest file 'numexpr.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
copying build\src.win32-2.7\numexpr\__config__.py -> build\lib.win32-2.7\numexpr

running build_ext
No module named msvccompiler in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
No module named msvccompiler in numpy.distutils; trying from distutils
customize MSVCCompiler
Missing compiler_cxx fix for MSVCCompiler
customize MSVCCompiler using build_ext
building 'numexpr.interpreter' extension
compiling C sources
error: Unable to find vcvarsall.bat

可能有人希望我感谢你,谢谢你:)

1 个答案:

答案 0 :(得分:1)

您的计算机上有哪些C ++编译器?根据编译器的不同,可能存在兼容性问题。 MinGW的编译器应该适用于大多数Python模块。有关如何配置" distutils.cfg"请参阅this answer。 file指定编译器的位置。 (您可能还需要编辑系统环境变量PATH,以便Windows在正确的位置找到您的编译器。)

希望通过MinGW和正确的distutils配置,您应该能够安装模块。