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


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)

 

解決辦法: 

官網下載: http://twistedmatrix.com/trac/wiki/Downloads

把下載的源碼包上傳到服務器  

cd /usr/local
# weget下載和解壓的。我測試一直不成功,未找到原因,可能解鎖姿勢不對,我的方法是下載到本地。解壓。上傳到服務器的 cd Twisted-17.9.0 python setup.py install cd .. pip3 install Scrapy #切記,S要大寫

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM