SoFunction
Updated on 2024-11-14

settle (a dispute)Scrapyinstallation error:Microsoft Visual C++ 14.0 is required...

Description of the problem

Current environment win10, python_3.6.1, 64 bit.

On windows, running pip install Scrapy in dos gives an error:

building '' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": /visual-cpp-build-tools

prescription

/~gohlke/pythonlibs/#twisted Download the whl file for the corresponding version of twisted (e.g. my Twisted-17.5.0-cp36-cp36m-win_amd64.whl), cp followed by the python version. amd64 stands for 64-bit, run the command:

pip install C:\Users\CR\Downloads\Twisted-17.5.0-cp36-cp36m-win_amd64.whl

where install is followed by the full pathname of the downloaded whl file

Once the installation is complete, run it again:

pip install Scrapy

Successful.

Above this article to solve Scrapy installation error:Microsoft Visual C++ 14.0 is required... That's all I've shared with you, I hope it can give you a reference, and I hope you can support me more.