永远爱学习

导航

Scrapy 简单使用

安装过程

sudo yum groupinstall -y development tools
sudo yum install -y epel-relase libxslt-devel libxml2-devel openssl-devel
pip3 install Scrapy
 安装报错

报错
Collecting Twisted>=13.1.0 (from Scrapy)
  Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: )
No matching distribution found for Twisted>=13.1.0 (from Scrapy)

解决:

  1.  
    wget https://twistedmatrix.com/Releases/Twisted/17.1/Twisted-17.1.0.tar.bz2
  2.  
    tar -jxvf Twisted-17.1.0.tar.bz2
  3.  
    cd Twisted-17.1.0
  4.  
    python setup.py install

posted on 2018-09-30 23:38  永远爱学习  阅读(105)  评论(0)    收藏  举报