twisted installation

In installing scrapy, pip install scrapy was used.

The front end of the installation process is smooth, but twisted needs to be installed in the automatic installation process later, and the error prompts  

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

So without thinking, I foolishly followed the prompts to download. As a result, the nightmare began, prompting downloads all the way, and downloading continuously. Terminate decisively. This is the rhythm that let me download the vs development environment.

Go to the pip website and find that twisted only has python2.7 version. There is no 3.x.

I found a lot of online information and found that it is only necessary to compile the twisted package with vc according to the environment of my computer. You can also download the compiled package directly.

found such a website

https://www.lfd.uci.edu/~gohlke/pythonlibs/

The site offers a lot of

Unofficial Windows Binaries for Python Extension Packages

The conscience of the industry. Many thanks!

successfully downloaded

Twisted-17.9.0-cp36-cp36m-win_amd64.whl

Next pip install Twisted-17.9.0-cp36-cp36m-win_amd64.whl

smoothly

Next pip install scrapy

smoothly

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325090423&siteId=291194637