centos7 + python3 安装 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)

【linux】 scrapy : Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: )

 

解决办法: 

官网下载: http://twistedmatrix.com/trac/wiki/Downloads

【linux】 scrapy : Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: )

把下载的源码包上传到服务器  

cd /usr/local
# weget下载和解压的。我测试一直不成功,未找到原因,可能解锁姿势不对,我的方法是下载到本地。解压。上传到服务器的 cd Twisted-17.9.0 python setup.py install cd .. pip3 install Scrapy #切记,S要大写

 

相关文章:

  • 2022-12-23
  • 2021-05-21
  • 2021-10-19
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2021-11-07
  • 2021-07-29
  • 2021-12-11
  • 2021-12-21
相关资源
相似解决方案