scrapy : Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: )
错误
在安装scrapy的时候,如果机器是一个纯净的机器,那么大多数情况下会出现以下错误:
1 | Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: ) |
解决办法
- 前往官网下载,官网下载: http://twistedmatrix.com/trac/wiki/Downloads
1 | wget https://twistedmatrix.com/Releases/Twisted/19.2/Twisted-19.2.1.tar.bz2 |
如果需要在虚拟环境中安装,那么进入虚拟环境后再执行安装命令即可。