注:所有命令均在root下执行
1、Couldn't find index page for 'incremental' (maybe misspelled?)
解决:
pip install --upgrade incremental -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
2、 unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
解决:
yum install gcc -y
3、安装scrapy相关
pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com -r rule文件
rule文件.eg:
scrapy>=1.3.3
scrapy-redis>=0.6.8
scrapyd>=1.2.0
scrapyd-client>=1.1.0
网友评论