Windows under Scrapy crawler frame

Source: Internet
Author: User
Tags install openssl

1. Install python Download the Python installation package according to your needs and install Python (this article is based on python27) https://www.python.org/downloads/
Download the installation default installation path to facilitate subsequent

Add a path to the environment variable ---"path" :"C:\Python27; C:\Python27\Scripts; " enter in the run " cmd " Open the Command window, enter "python--version"and if the Python version number is successfully displayed, the Python installation is successful!  If it doesn't, restart the computer! 

2. Installing Pywin32

Download the appropriate PYWIN32 installation package as needed   https://sourceforge.net/projects/pywin32/files/pywin32/build%20217/

Version number: Select one of the first two to open

Bloggers are 32-bit Python, so check the download below: (see the number of bits of Python you have installed to open cmd directly, enter Python, 32-bit is displayed: Python 2.7.2+ ... [MSC v.1500 + bit (Intel)] on Win32)

  

3. Install PIP is generally installed by default Python, in the "installation directory/python27/scripts" directory, "Pip.exe" is the default installation success;

If Python is not installed by default, the before installing PIP, make sure that you have the Python, and Easy_install tools installed in your win system, if the system installation is successful, Easy_install under directory C:\Python27\Scripts
Go to the command line, and then switch the directory to the script folder under the Python installation directory to run Easy_inatall pip
Restart cmd Command window, enter "Pip--version", if the PIP version number is displayed, the installation is successful!
4. Installing lxml  
If the system does not have VS2008 installed, install the vcforpython27 before installing lxml. In the https://pypi.python.org/pypi/lxml/3.6.0# download lxml for 2.7, download the installation.

5. Installing Pyopenssl

Restart cmd Command window, install OpenSSL with pip, enter command " pip Install Pyopenssl "

6. Installing Scrapy

Restart cmd Command window, install OpenSSL with pip, enter command " pip Install scrapy " wait for automatic installation, enter after installation is complete " scrapy ", prompts the scrapy command prompt content, the installation process ends.

Windows under Scrapy crawler frame

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.