Day060 — fix “error: Microsoft Visual C++ 14.0 is required.”

Day060 — fix “error: Microsoft Visual C++ 14.0 is required.”

There are the steps to solve the error: Microsoft Visual C++ 14.0 is required appeared on installing Python package that needs the Microsoft build tools.

  1. download ?Build Tools for Visual Studio 2017?
  2. click on ?Visual C++ build tools?, it should select you some default packages
  3. click ?VC++ 2015.3 v14.00 (v140) toolset for desktop? to add the v140 toolset
  4. (important!!!) download all selected packages together, default+1
  5. add ?C:Program Files (x86)Windows Kits10bin10.0.17763.0×86? to path in environment variable

C:Program Files (x86)Windows Kits10bin10.0.17763.0×86 is the folder which rc.exe and rcdll.dll lay.

Image for postselect ?Visual C++ build tools?Image for postthe package I downloaded, default+1Image for postadd ?C:Program Files (x86)Windows Kits10bin10.0.17763.0×86? to path in environment variable

reference:

Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)

I’ve installed Python 3.5 and while running pip install mysql-python it gives me the following error error: Microsoft?

stackoverflow.com

??python???pip install???????

??????python???pip?????????????????????????????????????????requires msgpack,which is not installed.? ??????????????pip?

zhuanlan.zhihu.com

Visual Studio can’t build due to rc.exe

Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share?

stackoverflow.com

[Windows] LINK : fatal error LNK1158: cannot run ‘rc.exe’ Issue #1340 conan-io/conan

Had issues building custom Debug zlib on windows. CMake output it couldn’t find the C/CXX compiler. A little digging?

github.com

22