【发布时间】:2013-11-07 20:29:30
【问题描述】:
我正在尝试在 Win7-64 机器上安装 PYMC,使用 Python 2.7.3,作为 Python(x, y) 的一部分安装。
我尝试使用python setup.py install,但没有成功。然后我按照这些说明http://pymc-devs.github.io/pymc/INSTALL.html 安装了 MinGW 和 MSYS,但我仍然有下面的错误消息。我已将详细信息添加到我的路径中。
我还尝试使用通过https://groups.google.com/forum/#!searchin/pymc/install$20windows/pymc/_10AZdgd620/wFPh4qium8QJ 链接到的 MCMC 以及此处列出的其他编译器详细信息 https://groups.google.com/forum/#!topic/pymc/1-ENfS5NBQE 和此处 http://ultrainfinitum.blogspot.co.uk/2012/12/python-error-unable-to-find-vcvarsallbat.html,其中声明使用以下编译器命令,@ 987654326@ 或 python setup.py build --force -c mingw32,然后是 python setup.py install --force --skip-build。
我得到的错误信息如下:
error: Setup script exited with error: Unable to find vcvarsall.bat
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "c:\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "c:\Python27\lib\multiprocessing\util.py", line 284, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
Error in sys.exitfunc:
Traceback (most recent call last):
File "c:\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "c:\Python27\lib\multiprocessing\util.py", line 284, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable
对接下来要尝试什么有什么想法吗?
【问题讨论】: