Python Forum
error : "Microsoft Visual C++ 14.0 is required. " Even its installed - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: error : "Microsoft Visual C++ 14.0 is required. " Even its installed (/thread-29384.html)



error : "Microsoft Visual C++ 14.0 is required. " Even its installed - Barak - Aug-31-2020

Hi

just started using pycharm
I fail to install libraries and get this error
is something missing in my system ?

I use Win 10

thank you!

Error:
Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\barak\pycharmprojects\pythonproject3\venv\scripts\python.exe' -u -c 'import sys, setuptools, token ize; sys.argv[0] = '"'"'C:\\Users\\Barak\\AppData\\Local\\Temp\\pip-install-t2q3ajet\\twisted\\setup.py'"'"'; __file__='"'"'C:\\Users\\Barak\\AppData\\Loca l\\Temp\\pip-install-t2q3ajet\\twisted\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'" ');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Barak\AppData\Local\Temp\pip-record-hr65a3kq\install-record.txt' --s ingle-version-externally-managed --compile --install-headers 'c:\users\barak\pycharmprojects\pythonproject3\venv\include\site\python3.8\twisted' Check the logs for full command output.



RE: error : "Microsoft Visual C++ 14.0 is required. " Even its installed - snippsat - Aug-31-2020

You get this message when it try to compile a package.
Bye using wheel as we talk about in Thread then it do not need to compile.
Now you run in virtual environment pythonproject3\venv\,then need to have Twisted install in that environment for Scrapy to work.
Look at Configure a Python interpreter and choose a interpreter where you have install Scrapy to.

So Twisted is a package that not have fixes that it get the wheel automatic,but it try to compile on Windows.
That's why we did step to install wheel manually as in your other Thread.
To compile can be somewhat difficult setup process on Windows,that's why we use wheel for this.


RE: error : "Microsoft Visual C++ 14.0 is required. " Even its installed - Barak - Sep-01-2020

Hi
so if I understand correctly I need to download and install : Twisted-20.3.0-cp38-cp38-win_amd64.whl (download to the project folder)
and then try pip install scrapy ?


RE: error : "Microsoft Visual C++ 14.0 is required. " Even its installed - snippsat - Sep-01-2020

No can use version you already installed Scrapy to in your other thread also Python 3.8 and not in a virtual environment.
Now you running from,venv means that this is a virtual environment.
c:\users\barak\pycharmprojects\pythonproject3\venv\scripts\python.exe
Go into Configure a Python interpreter and choose Python 3.8 in this Path.
C:\Users\Barak\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe



RE: error : "Microsoft Visual C++ 14.0 is required. " Even its installed - Underscore - Oct-13-2021

this is python forums, not c++ forums.