Hi Optimus_PrimeDL
This is the link to download and install the C++ Build Tools, try installing that, then restart your PC . . .
https://visualstudio.microsoft.com/visual-cpp-b...
Offline Installer:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
During the installation of python library via (pip install pyprosail), I receive an error "error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/". but I have already installed Microsoft Visual C++ 2015, 2017 redistributable but still, I got the error of Visual C++ in every system during the installation of this library. Please suggest the solution?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi Optimus_PrimeDL
This is the link to download and install the C++ Build Tools, try installing that, then restart your PC . . .
https://visualstudio.microsoft.com/visual-cpp-b...
Offline Installer:
This solution worked for me:
- Go to https://visualstudio.microsoft.com/downloads/ under Tools for Visual Studio 2019 download Build Tools for Visual Studio 2019 (~1MB download)
- Run and under Workload select C++ Build Tools, then under Options select MSVC v142 - VS 2019 C++ x64/x86 build tools (v 14.26) & Windows 10 SDK (10.0.17763.0) only (selects newer versions if available, +1GB download)
- Install.
Original Source: https://www.scivision.co/python-windows-visual-c-14-required
I am not able to solve the problem with this solution. I am trying to install biogeme using my command prompt, but showing an error message.
Error Message shown below in red colored font,
Running setup.py install for biogeme ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\vc\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\VC\AppData\Local\Temp\pip-install-0xj2173w\biogeme\setup.py'"'"'; __file__='"'"'C:\Users\VC\AppData\Local\Temp\pip-install-0xj2173w\biogeme\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\VC\AppData\Local\Temp\pip-record-oqxfr7x1\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\vc\appdata\local\programs\python\python38-32\Include\biogeme'
cwd: C:\Users\VC\AppData\Local\Temp\pip-install-0xj2173w\biogeme\
Complete output (197 lines):
Using Cython
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
running install
running build
...
...
...
...
...
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\vc\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\VC\AppData\Local\Temp\pip-install-0xj2173w\biogeme\setup.py'"'"'; __file__='"'"'C:\Users\VC\AppData\Local\Temp\pip-install-0xj2173w\biogeme\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\VC\AppData\Local\Temp\pip-record-oqxfr7x1\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\vc\appdata\local\programs\python\python38-32\Include\biogeme' Check the logs for full command output.
I am not able to figure out the error.
Can Anyone help me?
Thanks in Advance.
MissMasawi Are u still getting the same error (Microsoft Visual C++ 14.0 is required ...)?
have your problem resolved?
Thanks,
Aswathy
Thanks Dave.