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:
-
To https://www.lfd.uci.edu/~gohlke/pythonlibs download the compiled package
-
Installing vc ++ 14 build tools:
-
Install the latest version of visual studio, select the vc ++ build tools and windows sdk 10
-
最关键: 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:)