简体   繁体   English

错误:无法找到vcvarsall.bat以安装Visual Studio 2008编译python模块

[英]error: Unable to find vcvarsall.bat to compile python modules with Visual Studio 2008 installed

I', trying to compile a Python modules on Windows 7 ( Python 3.3 ) and getting the error: Unable to find vcvarsall.bat which i read around is related to not having Visual Studio 2008 installed. 我正在尝试在Windows 7(Python 3.3)上编译Python模块并得到以下错误:无法找到我读过的vcvarsall.bat与未安装Visual Studio 2008有关。 Bu i have visual studio 2008 installed AND it's in the path, any ideas? 我安装了Visual Studio 2008,并且正在路上,有什么想法吗?

EDIT - i also checked How do I point easy_install to vcvarsall.bat? 编辑-我还检查了如何将easy_install指向vcvarsall.bat? but no effects, i tried setting the variable but it's ignored. 但没有效果,我尝试设置变量,但是它被忽略了。

EDIT 2 - I've found out by looking at the core that it's now looking for VS100COMNTOOLS instead of VS90COMNTOOLS is the VS studio version different? 编辑2-通过查看核心,我发现它现在正在寻找VS100COMNTOOLS而不是VS90COMNTOOLS VS Studio版本是否有所不同?

Python 3.3 on Windows is built with VS2010 , which doesn't match your VS2008. Windows上的Python 3.3是使用VS2010构建的 ,它与VS2008不匹配。 Previous versions of Python did indeed use VS2008. 以前的Python版本确实使用VS2008。

You'll need to get hold of VS2010. 您需要掌握VS2010。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM