Share via

Microsoft Visual C++ 14.0

Anonymous
2019-10-07T05:28:54+00:00

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?

Windows for home | Other | Install and upgrade

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.

0 comments No comments

30 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-09-21T17:22:31+00:00

    This solution worked for me:

    1. Go to https://visualstudio.microsoft.com/downloads/ under Tools for Visual Studio 2019 download Build Tools for Visual Studio 2019 (~1MB download)
    2. 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)
    3. 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.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-07-10T13:29:46+00:00

    MissMasawi Are u still getting the same error (Microsoft Visual C++ 14.0 is required ...)?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-03-03T08:33:58+00:00

    have your problem resolved?

    Thanks,

    Aswathy

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-02-07T04:09:57+00:00

    Thanks Dave.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments