error: Unable to find vcvarsall.bat while install python library by pip install or python setup.py install.
2015-01-15 13:12
591 查看
Python 2.7 会搜索 Visual Studio 2008.
如果你电脑上没有这个版本的话,比如只有:
1.Visual Studio 2010,在cmd里面执行:
SET VS90COMNTOOLS=%VS100COMNTOOLS%
2. Visual Studio 2012 的话:
SET VS90COMNTOOLS=%VS110COMNTOOLS%
以此类推:
3. Visual Studio 2013 的话:
SET VS90COMNTOOLS=%VS120COMNTOOLS%
4. Visual Studio 2003 的话:
SET VS90COMNTOOLS=%VS80COMNTOOLS%
如果你电脑上没有这个版本的话,比如只有:
1.Visual Studio 2010,在cmd里面执行:
SET VS90COMNTOOLS=%VS100COMNTOOLS%
2. Visual Studio 2012 的话:
SET VS90COMNTOOLS=%VS110COMNTOOLS%
以此类推:
3. Visual Studio 2013 的话:
SET VS90COMNTOOLS=%VS120COMNTOOLS%
4. Visual Studio 2003 的话:
SET VS90COMNTOOLS=%VS80COMNTOOLS%
相关文章推荐
- python setup.py install安装遇到问题:unable to find vcvarsall.bat
- python pip install报错error: Unable to find vcvarsall.bat
- python setup.py安装出错: error: Unable to find vcvarsall.bat
- pip install安装出现error:Unable to find vcvarsall.bat
- easy_install和pip安装模块,提示error: Unable to find vcvarsall.bat的解决方法
- windows下 pip install 错误 error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
- 关于python setup build编译出现找不到 vcvarsall.bat(error: Unable to find vcvarsall.bat)
- Python3 pip 解决问题: error: Unable to find vcvarsall.bat
- easy_install 错误Setup script exited with error: Unable to find vcvarsall.bat解决方法
- 安装robotframewrok 的ssh库 pip install robotframework-sshlibrary 遇到 error: Unable to find vcvarsall.bat
- Windows上面安装MySQL-Python-1.2.3(Mysqldb- error: Unable to find vcvarsall.bat)
- python安装error: Unable to find vcvarsall.bat
- 关于python下构建c模块出现error: Unable to find vcvarsall.bat问题的解决方法
- error: Setup script exited with error: Unable to find vcvarsall.bat
- 转:python 3.4 error: Microsoft Visual C++ 10.0 is required(Unable to find vcvarsall.bat)解决办法,自研亲测可行
- python使用pip安装gevent时提示Unable to find vcvarsall.bat
- python2.7 error: Unable to find vcvarsall.bat
- windows下Python扩展问题error: Unable to find vcvarsall.bat
- python easy_install 发生Unable to find vcvarsall.bat错误的处理方法
- Win7 64位编译Python扩展解决”error: Unable to find vcvarsall.bat”问题