安装pytables时遇到问题

having problems installing pytables

我正在尝试安装 pytable,但首先我必须在我的 windows 7 机器上安装 numpy 和 numexpr,我尝试安装 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

谁能告诉我,谢谢 :)

你的机器上有什么 C++ 编译器?可能存在兼容性问题,具体取决于编译器。 MinGW 的编译器应该适用于大多数 Python 模块。有关如何配置 "distutils.cfg" 文件以指定编译器位置的信息,请参阅 this answer。 (您可能还必须编辑系统环境变量 PATH,以便 Windows 在正确的位置找到您的编译器。)

希望使用 MinGW 和正确的 distutils 配置你应该能够安装你的模块。