Installing scrapy-1.1 in the WIN10 system

Source: Internet
Author: User
0. Environmental Statement

Win10 64bit, the computer is also 64bit processor, the computer is equipped with vs2010 64bit, but for the sake of insurance, only tested 32-bit installation, and so on, and then try the 64-bit installation. Without special instructions, all operations are performed under the Windows command line. The computer also needs to be networked, as Pip will need to download the relevant package online when it installs the package.

1. Install Python

I use win32-python-2.7.12, please remember to use the version above. 10, because I remember when the PIP was loaded, it seemed like I had to. 8 or more versions.

Then the relevant environment variables are configured to the path path, do not understand Google, the results such as the yellow description.

2. Install Pip

Click Https://pypi.python.org/pypi/pip to download pip-6.1.1.tar.gz (MD5, PGP)

After extracting the folder, execute:python setup.py install

3. Installing lxml

lxml is a library written in Python that allows you to work with XML quickly and flexibly. Select the corresponding Python version to install. ;

installation command:pip install lxml

Verify that the installation is successful see:

4. Installing Zope.interface

pip install zope.interface

5. Installing twisted

Twisted is an event-driven network engine framework implemented in Python that installs commands:

pip install twisted

When I turn, I have a problem:

Error:microsoft Visual C + + 9.0 is required (unable to find Vcvarsall.bat). Get it from Http://aka.ms/vcpython27

The solution is as follows:

Execute The following command based on the version of Visual Studio installed:

Visual Studio (VS10):SET VS90COMNTOOLS=%VS100COMNTOOLS%

Visual Studio (VS11):SET VS90COMNTOOLS=%VS110COMNTOOLS%

Visual Studio (VS12):SET VS90COMNTOOLS=%VS120COMNTOOLS%

Visual Studio (VS14):SET VS90COMNTOOLS=%VS140COMNTOOLS%

And then re-execute:

pip install twisted

Can.

6. Installing Pyopenssl

pip install pyopenssl

7. Installing Win32py

Provide Win32API, click http://sourceforge.net/projects/pywin32/files/pywin32/Download

Pywin32-220.win32-py2.1.exe, click Install.

8. Installing Scrapy

pip install scrapy

9. Test whether the Scrapy is available:

Installation is complete, start using it!

Ha ha......

  • Related Article

    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.