error Microsoft Visual C ++ 14.0 is required solutions

 

 

On the Windows platform, pip install fastFM scrapy tools such as time, error Microsoft Visual C ++ 14.0 is required is often wrong,
 
 
The reason is that part of the packet using python c or c ++ prepared, it is necessary to use tools c ++ generated at the time of installation.
 
There are two solutions:
  1. To  https://www.lfd.uci.edu/~gohlke/pythonlibs  download the compiled package
 
  1. Installing vc ++ 14 build tools:
    1. Install the latest version of visual studio, select the vc ++ build tools and windows sdk 10
    2. 最关键: pip install --upgrade setuptools  才能自动发现 vc++ compilers ( Before do anything, install or upgrade the Setuptools Python package. It contain compatibility improvements and add automatic use of compilers:)
 
 
 
 

Guess you like

Origin www.cnblogs.com/ToDoToTry/p/11970611.html