python easy_install 发生Unable to find vcvarsall.bat错误的处理方法
2014-11-03 14:08
701 查看
用python setup.py install发生 Unable to find vcvarsall.bat 错误
正确处理方式是安装mingw。
首先需下载mingw的安装包,然后安装mingw,MSYS
Base System下的package均选择安装
![](https://app.yinxiang.com/shard/s1/sh/6290d0c6-5e87-45f6-a3ed-f40103ffbcd1/592795fa429c04733419e8a4f47a4ec9/res/92c9bb97-c39e-42ab-94a7-accc92991841.png?resizeSmall&width=832)
2. 假定mingw的安装目录为 c:\mingw ,那么需要将C:\MinGW\bin;C:\MinGW\mingw32\bin;C:\MinGW\msys\1.0\bin;C:\MinGW\msys\1.0\sbin添加到Path系统变量中
3. 下载easy_install指向的文件,通常为tar.gz,下载后解压缩,然后运行cmd打开命令窗口,然后切换到解压缩后的setup.py所在的目录
4. 执行下面的命令
这样就可以解决easy_install “Unable to find vcvarsall.bat”错误的问题了。
error: Setup script exited with error: Unable to find vcvarsall.bat
正确处理方式是安装mingw。
首先需下载mingw的安装包,然后安装mingw,MSYS
Base System下的package均选择安装
![](https://app.yinxiang.com/shard/s1/sh/6290d0c6-5e87-45f6-a3ed-f40103ffbcd1/592795fa429c04733419e8a4f47a4ec9/res/92c9bb97-c39e-42ab-94a7-accc92991841.png?resizeSmall&width=832)
2. 假定mingw的安装目录为 c:\mingw ,那么需要将C:\MinGW\bin;C:\MinGW\mingw32\bin;C:\MinGW\msys\1.0\bin;C:\MinGW\msys\1.0\sbin添加到Path系统变量中
3. 下载easy_install指向的文件,通常为tar.gz,下载后解压缩,然后运行cmd打开命令窗口,然后切换到解压缩后的setup.py所在的目录
4. 执行下面的命令
setup.py install build --compiler=mingw32
这样就可以解决easy_install “Unable to find vcvarsall.bat”错误的问题了。
相关文章推荐
- python easy_install 发生Unable to find vcvarsall.bat错误的处理方法
- easy_install 错误Setup script exited with error: Unable to find vcvarsall.bat解决方法
- python安装PIL模块时Unable to find vcvarsall.bat错误的解决方法
- easy_install和pip安装模块,提示error: Unable to find vcvarsall.bat的解决方法
- easy_install 或者pip 安装时出现unable to find vcvarsall.bat解决方法
- python安装PIL模块时Unable to find vcvarsall.bat错误的解决方法
- Python 使用mingw构建第三方库 Unable to find vcvarsall.bat错误解决方法
- python---解决“Unable to find vcvarsall.bat”错误
- python---解决“Unable to find vcvarsall.bat”错误
- Python---解决“Unable to find vcvarsall.bat”错误
- 当easy_install遇上Unable to find vcvarsall.bat
- python Unable to find vcvarsall.bat 错误
- Python 3 安装 lxml 报错Unable to find vcvarsall.bat的解决方法
- python编译 错误集合 "unable to find vcvarsall.bat” 和 ValueError: [u'path']
- Windows 下安装Python包(Numpy)的错误:Unable to find vcvarsall.bat
- easy_install遇上Unable to find vcvarsall.bat
- python Unable to find vcvarsall.bat 错误
- python错误解决:Unable to find vcvarsall.bat
- python---解决“Unable to find vcvarsall.bat”错误
- python—解决“Unable to find vcvarsall.bat”错误