需要Microsoft Visual C ++ 14.0。使用“ Microsoft Visual C ++构建工具”获得它:http://landinghub.visualstudio.com/visual-cpp-build-tools [英] Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
问题描述
我已经尝试了互联网上提到的所有方法,但是没有用。
我正在尝试通过编写 pip install misaka
来安装misaka,它通过显示相同的消息不断抱怨。我已经下载并安装了MS build工具2015和2017,重新启动了笔记本电脑。无论我做什么,都无法弄清楚为什么会抱怨。
Python版本3.6.4
Windows 10
解决以下任何错误 misaka的构建轮失败
或无法构建misaka
或需要Microsoft Visual C ++ 14.0 或
找不到vcvarsall.bat
解决方案是:
1-转到:
请注意,如果您已经安装了Visual Studio,则在运行安装程序时,可以进行修改(单击Visual Studio Community 2017下的修改按钮)并执行步骤3和步骤4
I have tried all methods mentioned on the internet but there is no use.
I am trying to install misaka by writing pip install misaka
it keeps complaining by showing the same message. I have downloaded and installed MS build tool 2015 and 2017, Restarted my laptop. Whatever I did, couldn't figure out why it complains.
Python version 3.6.4
Windows 10
to solve any of the following error Failed building wheel for misaka
or Failed to build misaka
or Microsoft Visual C++ 14.0 is required
or Unable to find vcvarsall.bat
Solution is:
1- go to: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
2- select free download under Visual Studio Community 2017
(this will download the installer.) run the installer
3- Now Most important step is to select what you need: under workload tab:
a) under Windows there are 3 choices only CHECK Desktop development with C++
b)under Web & Cloud there are 7 choices only CHECK Python development (I believe this is optional But I have done it).
4- now go to your cmd and type: pip3 install misaka
Good Luck
Note if you already installed visual studio then when you run the installer ;you can modify yours (click modify button under Visual Studio Community 2017) and do steps 3 and 4
这篇关于需要Microsoft Visual C ++ 14.0。使用“ Microsoft Visual C ++构建工具”获得它:http://landinghub.visualstudio.com/visual-cpp-build-tools的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!