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