需要 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

查看:72
本文介绍了需要 Microsoft Visual C++ 14.0.使用“Microsoft Visual C++ 构建工具"获取它:http://landinghub.visualstudio.com/visual-cpp-build-tools的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网上提到的方法我都试过了,但是没有用.我正在尝试通过编写 pip install misaka 来安装 misaka,它通过显示相同的消息不断抱怨.我已经下载并安装了 MS 构建工具 2015 和 2017,重新启动了我的笔记本电脑.无论我做了什么,都无法弄清楚为什么它会抱怨.Python 版本 3.6.4视窗 10

解决方案

解决以下任何错误:

  • 御坂建造轮子失败"
  • 构建御坂失败"
  • 需要 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 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:

    1. Go to: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017

    2. Select the free download under Visual Studio Community 2017

      • This will download the installer.
      • Run the installer
    3. 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).
    4. 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆