需要在已安装Visual Studio 2017的地方安装双绞线,需要Microsoft Visual C ++ 14.0 [英] Microsoft Visual C++ 14.0 is required to install twisted where Visual studio 2017 is already installed

查看:163
本文介绍了需要在已安装Visual Studio 2017的地方安装双绞线,需要Microsoft Visual C ++ 14.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在VS-Code中编译代码时出现错误->需要Microsoft Visual C ++ 14.0

When i compiled the code in VS-Code gives error -> Microsoft Visual C++ 14.0 is required

在(Windows 10)中扭曲安装 1: pip install python-twisted 给出错误

Installing twisted in (windows 10) 1: pip install python-twisted gives an error

找不到满足python-twisted要求的版本(来自版本:) 找不到与twisted匹配的分布

Could not find a version that satisfies the requirement python-twisted (from versions: ) No matching distribution found for python-twisted

2: pip/pip3安装扭曲

扭曲的建筑车轮失败 运行setup.py clean以防扭曲 无法建立扭曲 注意:我的PC中安装了两个python版本,但是python命令给出了我正在使用的实际版本 3.7.2 .另一个是3.6.6,就在我的磁盘上

Failed building wheel for twisted Running setup.py clean for twisted Failed to build twisted Note: There are two python versions installed in my PC But python command gives the actual version 3.7.2 an i am using it. Where the other one is 3.6.6 just residing in my disk

我已经与python一起安装了Visual Studio,但是正在使用Visual Studio代码.很好用这个程序!

I have already installed visual studio along with python but working on visual studio code. It was good util this program!

我尝试了2种方法(在那里提到u)来安装twis​​ted和许多其他答案来解决堆栈溢出问题.

I have tried 2 methods(mentioned u there) to install twisted and many other answers on stack overflow to resolve the issue.

我正在阅读kivy文档,并希望它能很好地工作

I am following the kivy documentation and expecting it to work well

推荐答案

您必须安装VC ++ 14.0编译器.您可以下载Visual Studio 2017或2019的安装程序,并要求安装VC ++ 2015 v14.0.

You have to install VC++14.0 compiler. You could download installer for Visual Studio 2017 or 2019, and ask for VC++2015 v14.0 to be installed.

这是我在VS 2017安装中的外观.您也可能只下载命令行编译器,但我从未尝试过.链接下载 https://visualstudio.microsoft.com/visual-cpp-build-工具/

This is how it looks in my VS 2017 installation. You might download just command line compiler as well, but I never tried it. Link to download https://visualstudio.microsoft.com/visual-cpp-build-tools/

这篇关于需要在已安装Visual Studio 2017的地方安装双绞线,需要Microsoft Visual C ++ 14.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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