error: Setup script exited with error: Unable to find vcvarsall.bat

Posted Eason Go!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error: Setup script exited with error: Unable to find vcvarsall.bat相关的知识,希望对你有一定的参考价值。

安装mxnet python版本时遇到“Unable to find vcvarsall.bat”错误搜索一下后查到如下方法:

python 3.5.2版本依赖高版本的vs解决办法是安装vs2015的安装包,安装包下载路径

或者安装其他版本的VS执行如下命令:

   如果你安装的是 2010 版 :SET VS90COMNTOOLS=%VS100COMNTOOLS%

   如果你安装的是 2012 版:SET VS90COMNTOOLS=%VS110COMNTOOLS%

   如果你安装的是 2013版:SET VS90COMNTOOLS=%VS120COMNTOOLS%

 

 

https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/

以上是关于error: Setup script exited with error: Unable to find vcvarsall.bat的主要内容,如果未能解决你的问题,请参考以下文章

ERROR: Command errored out with exit status 1一例

解决pip安装pygame提示python setup.py egg_info did not run successfully.│ exit code: 1错误

error: command 'cc' failed with exit status 1

安装Python的psutil模块时报错:error: command 'gcc' failed with exit status 1

mysql_config not found和error: command 'gcc' failed with exit status 1

Job for network.service failed because the control process exited with error code问题