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要大寫