Scrapy 简单使用
安装过程
sudo yum groupinstall -y development tools
sudo yum install -y epel-relase libxslt-devel libxml2-devel openssl-devel
pip3 install Scrapy
报错
Collecting Twisted>=13.1.0 (from 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)
解决:
-
wget https://twistedmatrix.com/Releases/Twisted/17.1/Twisted-17.1.0.tar.bz2
-
tar -jxvf Twisted-17.1.0.tar.bz2
-
cd Twisted-17.1.0
-
python setup.py install
浙公网安备 33010602011771号