Microsoft Visual C++ 14.0 is required to install twisted where Visual studio 2017 is already installed

我只是一个虾纸丫 提交于 2020-01-11 11:06:48

问题


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

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

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

2: pip/pip3 install twisted

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

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

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

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


回答1:


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.

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/



来源:https://stackoverflow.com/questions/55727048/microsoft-visual-c-14-0-is-required-to-install-twisted-where-visual-studio-201

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!