CentOS 6.X Installation scrapy-Original

Source: Internet
Author: User

Special attention [Pit]: Python version must be greater than 2.7.5,scrapy Python must be above 2.7
CentOS 6.X Series System The default installation of Python is 2.6.6, I have been tossing for a long time 2.7.3

Upgrade here
http://blog.csdn.net/highball/article/details/10103909


Python-v

Python 2.7.5

1. Setuptools Installation

wget--no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-12.0.3.tar.gz#md5= F07e4b0f4c1c9368fcd980d888b29a65

Tar zxvf setuptools-12.0.3.tar.gz && CD setuptools-12.0.3

Python setup.py Install

2. PIP installation (install Setuptools first):

wget "HTTPS://PYPI.PYTHON.ORG/PACKAGES/SOURCE/P/PIP/PIP-1.5.4.TAR.GZ#MD5=834B2904F92D46AAA333267FB1C922BB"-- No-check-certificate

Tar zxvf pip-1.5.4.tar.gz && CD pip-1.5.4

Python setup.py Install

3. Install dependent zope.interface [install IBID.]
wget https://pypi.python.org/packages/9d/81/2509ca3c6f59080123c1a8a97125eb48414022618cec0e64eb1313727bfe/ Zope.interface-4.1.3.tar.gz#md5=9ae3d24c0c7415deb249dd1a132f0f79

Sign in to the Python terminal

Import Zope.interface See if the error
4. Installing Pyopenssl Dependent libraries
wget https://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.tar.gz

5. Final installation of Scrapy

Pip Install Scrapy

You have a problem, you can contact me, 769871707, note scapy

Reference documents:
http://my.oschina.net/xtfjt1988/blog/364577

Http://scrapy-chs.readthedocs.io/zh_CN/latest/intro/install.html

CentOS 6.X Installation scrapy-Original

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.