简体   繁体   English

在Visual Studio 2013 Express中安装mysql-python时遇到无法找到vcvarsall.bat的错误

[英]Getting an error unable to find vcvarsall.bat while installing mysql-python in visual studio 2013 express

I am trying to install mysql-python (version 3.4) package in VS 2013 express. 我正在尝试在VS 2013 Express中安装mysql-python(3.4版)软件包。 I am getting this error message: 我收到此错误消息:

Running setup.py install for mysql-python building '_mysql' extension error: Unable to find vcvarsall.bat. 运行setup.py install以安装mysql-python构建'_mysql'扩展错误:无法找到vcvarsall.bat。

I have VC++ 2010/2012 Redistributable installed on Windows 7. What am I missing? 我在Windows 7上安装了VC ++ 2010/2012 Redistributable。我缺少什么?

I'm not sure for VS 2013 Express, but vcvarsall.bat was not included in VS2008 Express. 我不确定VS 2013 Express,但VS2008 Express中不包含vcvarsall.bat I found it in the SDK 6.1 which seemed to be compatible with the versions of Python I use (2.7). 我在SDK 6.1中找到了它,它似乎与我使用的Python版本(2.7)兼容。 It seems that Python 3.4 is itself built with the tools from SDK version 7 . 似乎Python 3.4本身是使用SDK版本7中的工具构建的。

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

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