需要Microsoft Visual C ++ 14.0.使用"Microsoft Visual C ++构建工具"获得它:http://landinghub.visualst udio.com/visual-cpp-build-tools [英] Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualst udio.com/visual-cpp-build-tools
问题描述
我已经尝试了互联网上提到的所有方法,但是没有用.
我正在尝试通过编写pip install misaka
来安装misaka,它通过显示相同的消息不断抱怨.我已经下载并安装了MS build工具2015和2017,重新启动了笔记本电脑.无论我做什么,都无法弄清楚为什么会抱怨.
Python版本3.6.4
Windows 10
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
推荐答案
解决以下任何错误Failed building wheel for misaka
或Failed to build misaka
或Microsoft Visual C++ 14.0 is required
或Unable to find vcvarsall.bat
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
解决方案是:
1-转到: https://www. visualstudio.com/downloads/#build-tools-for-visual-studio-2017
2-选择在Visual Studio Community 2017下免费下载
2- select free download under Visual Studio Community 2017
(这将下载安装程序.) 运行安装程序
(this will download the installer.) run the installer
3-现在最重要的步骤是选择所需的内容: 在工作负载标签下:
3- Now Most important step is to select what you need: under workload tab:
a)在Windows下只有3种选择:检查使用C ++进行的桌面开发
a) under Windows there are 3 choices only CHECK Desktop development with C++
b)在Web&云只有7种选择,请检查Python开发(我相信这是可选的,但我已经做到了).
b)under Web & Cloud there are 7 choices only CHECK Python development (I believe this is optional But I have done it).
4-现在转到您的cmd并输入: pip3安装misaka
4- now go to your cmd and type: pip3 install misaka
祝你好运
请注意,如果您已经安装了Visual Studio,则在运行安装程序时可以进行修改(单击Visual Studio Community 2017下的Modify按钮)并执行步骤3和4
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.visualst udio.com/visual-cpp-build-tools的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!