Unable to find vcvarsall.bat的解决办法

时间:2022-04-24 15:37:56

明年绝对买MAC电脑,这一两天安装paramiko,真是操碎了心。

安装paramiko时报error: Unable to find vcvarsall.bat这种错误,网上找了各种方法啊,解决的办法是下载http://go.microsoft.com/fwlink/?LinkId=691126这个。然后会有段漫长的等待时间,安装完重启后就好了

友提:我的python环境是3.5

Python Version You will need
3.5 and later Visual C++ Build Tools 2015 or Visual Studio 2015
3.3 and 3.4 Windows SDK for Windows 7 and .NET 4.0
(Alternatively, Visual Studio 2010 if you have access to it)
2.6 to 3.2 Microsoft Visual C++ Compiler for Python 2.7