解决Python安装包时提示Unable to find vcvarsall.bat的问题
by:授客 QQ:1033553122
问题
Python安装包时,提示Unable to find vcvarsall.bat,如下
解决方法
安装MinGW,安装完成后,设置环境变量,把
$install_dir\bin添加到path中,比如MinGW安装在C:\MinGW,则把C:\MinGW\bin添加到path中
MinGW下载地址:https://sourceforge.net/projects/mingw/files/
安装并配置好MinGW后,继续安装python包,
python setup.py install build
--compiler=mingw32