Windows installation Scrapy

Source: Internet
Author: User

1. Installing twisted

Direct PIP Install Twisted

and then error.

    Error:microsoft Visual C + + 14.0 is required. Get it with "Microsoft Visual C + + Build Tools": Http://landinghub.visualstudio.com/visual-cpp-build-tools    -------- --------------------------------Command "C:\users\zb\appdata\local\programs\python\python36-32\python.exe-u-C" Import Setuptools, tokenize;__file__= ' c:\\users\\zb\\appdata\\local\\temp\\pip-build-10ew2ma_\\twisted\\setup.py '; f=getattr (tokenize, ' open ', open) (__file__); Code=f.read (). replace (' \ r \ n ', ' \ n '); F.close (); Exec (compile (code, __ file__, ' exec ')) "Install--record C:\Users\zb\AppData\Local\Temp\pip-85cixft1-record\install-record.txt-- Single-version-externally-managed--compile "failed with the error code 1 in C:\Users\zb\AppData\Local\Temp\ Pip-build-10ew2ma_\twistedyou is using the PIP version 9.0.1, however version 10.0.1 is available. You should consider upgrading via the ' python-m pip install--upgrade pip ' command.

Last sentence elevation Let's upgrade Pip, then run python-m pip install--upgrade pip run

At this time we successfully upgraded the PIP. Then reinstall PIP install twisted after running to see the following error occurred

    Building ' twisted.test.raiser ' extension    error:microsoft Visual C + + 14.0 is required. Get it with "Microsoft Visual C + + Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
The literal meaning to see needs to be installed Microsoft Visual C + + 14.0, but this thing is very cumbersome to install, and it is not necessarily accurate to install, this time, we generally consider the third-party Python module installation package
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Then search twisted, download the corresponding version, Cp36 is the python3.6x version, Win32 refers to the number of Python bits, cmd input python view python version, here i download the blue x below

Https://download.lfd.uci.edu/pythonlibs/t5yhk4lc/Twisted-18.4.0-cp36-cp36m-win32.whl

Windows installation Scrapy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.