问题
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