[英]Error Installing Tornado 4.0 Windows7 64bit
Help, 救命,
Am trying to install tornado 4.0 on my windows7 64bit but am getting the following error; 我正在尝试在Windows7 64bit上安装Tornado 4.0,但出现以下错误;
building 'tornado.speedups' extension
Traceback (most recent call last):
File "setup.py", line 176, in <module>
**kwargs
File "c:\Python27\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "c:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\Python27\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "c:\Python27\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "c:\Python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\Python27\lib\site-packages\setuptools\command\bdist_egg.py", line 161, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "c:\Python27\lib\site-packages\setuptools\command\bdist_egg.py", line 147, in call_command
self.run_command(cmdname)
File "c:\Python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\Python27\lib\site-packages\setuptools\command\install_lib.py", line 9, in run
self.build()
File "c:\Python27\lib\distutils\command\install_lib.py", line 111, in build
self.run_command('build_ext')
File "c:\Python27\lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 85, in run
build_ext.run(self)
File "c:\Python27\lib\distutils\command\build_ext.py", line 337, in run
self.build_extensions()
File "c:\Python27\lib\distutils\command\build_ext.py", line 446, in build_extensions
self.build_extension(ext)
File "setup.py", line 97, in build_extension
build_ext.build_extension(self, ext)
File "c:\Python27\lib\distutils\command\build_ext.py", line 496, in build_extension
depends=ext.depends)
File "c:\Python27\lib\distutils\msvc9compiler.py", line 473, in compile
self.initialize()
File "c:\Python27\lib\distutils\msvc9compiler.py", line 383, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "c:\Python27\lib\distutils\msvc9compiler.py", line 299, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: [u'path']
Any ideas what am missing 任何想法缺少什么
Paul 保罗
This looks like https://github.com/tornadoweb/tornado/issues/1115 which was reportedly due to a mismatch of 64-bit python and 32-bit visual c++. 看起来像https://github.com/tornadoweb/tornado/issues/1115 ,据报道是由于64位python和32位可视c ++不匹配。 The next release of Tornado (after 4.0) will skip the extension module and fall back to pure-python mode in this case.
在这种情况下,下一个版本的Tornado(4.0之后)将跳过扩展模块,并退回到纯Python模式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.