在安装scrapy之前首先得确保你已经安装了python 以及pip

1,安装scrapy

pip install 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)

原因是没有安装Twisted

2,安装Twisted。

wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.2.1.tar.bz2 --no-check-certificate
tar -xjvf Twisted-15.2.1.tar.bz2
cd Twisted-15.2.1
python setup.py install

  成功。

参考链接:http://blog.csdn.net/snowpay/article/details/64919647

 

相关文章:

  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-05-19
  • 2021-08-07
  • 2021-05-04
  • 2021-04-25
猜你喜欢
  • 2021-09-16
  • 2021-06-11
  • 2021-07-04
  • 2021-10-26
  • 2021-05-16
  • 2021-08-02
  • 2021-11-03
相关资源
相似解决方案