error: Unable to find vcvarsall.bat
2014-01-23 00:00
337 查看
有人这样说:
For Windows installations:
While running setup.py for package installations Python 2.7 searches for an installed Visual Studio 2008. You can trick Python to use a newer Visual Studio by setting the correct path in VS90COMNTOOLS environment variable before calling
If you have Visual Studio 2010 installed, execute
or with Visual Studio 2012 installed (Visual Studio Version 11)
or with Visual Studio 2013 installed (Visual Studio Version 12)
然而有人这样说:
WARNING!!! This is WRONG answer. You should not under any circumstances compile Python C extension using different (version of) compiler that the one used to compile Python itself as those two (versions of) compilers will probably have incompatible C runtime libraries. See this answer for more details.
For Windows installations:
While running setup.py for package installations Python 2.7 searches for an installed Visual Studio 2008. You can trick Python to use a newer Visual Studio by setting the correct path in VS90COMNTOOLS environment variable before calling
setup.py.
If you have Visual Studio 2010 installed, execute
SET VS90COMNTOOLS=%VS100COMNTOOLS%
or with Visual Studio 2012 installed (Visual Studio Version 11)
SET VS90COMNTOOLS=%VS110COMNTOOLS%
or with Visual Studio 2013 installed (Visual Studio Version 12)
SET VS90COMNTOOLS=%VS120COMNTOOLS%
然而有人这样说:
WARNING!!! This is WRONG answer. You should not under any circumstances compile Python C extension using different (version of) compiler that the one used to compile Python itself as those two (versions of) compilers will probably have incompatible C runtime libraries. See this answer for more details.
相关文章推荐
- error: Unable to find vcvarsall.bat 解决方法
- 当出现error: Unable to find vcvarsall.bat该如何处理
- [转]Resolving Python error: Unable to find vcvarsall.bat
- 彻底解决 error: Unable to find vcvarsall.bat
- windows下Python扩展问题error: Unable to find vcvarsall.bat
- Python error: Unable to find vcvarsall.bat
- error: Setup script exited with error: Unable to find vcvarsall.bat解决办法
- [Python3.5]解决安装一些模块时出现“error: Unable to find vcvarsall.bat”的错误
- Python error: Unable to find vcvarsall.bat
- Visual Studio 2010编译Python扩展程序报error: Unable to find vcvarsall.bat
- pip 安装 zkpython时报错“error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)”
- Python error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)解决方案
- Python3.4安装scrapy库的时候出现Error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)
- 安装robotframewrok 的ssh库 pip install robotframework-sshlibrary 遇到 error: Unable to find vcvarsall.bat
- 【已解决】Scrapy安装出错:error: Unable to find vcvarsall.bat的解决方法
- windows下Python扩展问题error: Unable to find vcvarsall.bat
- 彻底解决 error: Unable to find vcvarsall.bat
- error: Setup script exited with error: Unable to find vcvarsall.bat
- 解决一次error: Unable to find vcvarsall.bat的经历
- error: Unable to find vcvarsall.bat