问题描述
网上提到的方法我都试过了,但是没有用.我正在尝试通过编写 pip install misaka
来安装 misaka,它通过显示相同的消息不断抱怨.我已经下载并安装了 MS 构建工具 2015 和 2017,重新启动了我的笔记本电脑.无论我做了什么,都无法弄清楚为什么它会抱怨.Python 版本 3.6.4视窗 10
解决以下任何错误:
- 御坂建造轮子失败"
- 构建御坂失败"
- 需要 Microsoft Visual C++ 14.0"
- 无法找到 vcvarsall.bat"
解决办法是:
转到:
请注意,如果您已经安装了 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.4Windows 10解决方案To solve any of the following errors:
- "Failed building wheel for misaka"
- "Failed to build misaka"
- "Microsoft Visual C++ 14.0 is required"
- "Unable to find vcvarsall.bat"
The solution is:
Go to: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
Select the free download under Visual Studio Community 2017
- This will download the installer.
- Run the installer
Now the most important step is to select what you need under the workload tab:
- Under Windows there are 3 choices. ONLY check "Desktop development with C++"
- Under Web & Cloud there are 7 choices. ONLY check Python development (I believe this is optional but I still did it).
Now go to your cmd and install the package:
pip3 install misaka
Note that if you already installed Visual Studio then when you run the installer, you can modify it (click the 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!