win10 安装 scrapy

时间:2020-06-10 21:21:46   收藏:0   阅读:108

参考链接:

1、Anaconda安装Scrapy框架

2、使用scrapy报错:attrs() got an unexpected keyword argument ‘eq‘解决办法

 

安装完成后,创建新的项目:

首先使用命令:scrapy startproject study

之后报错:TypeError: attrs() got an unexpected keyword argument ‘eq‘

解决:pip install attrs==19.2.0 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

再使用 scrapy startproject study

就可以创建成功了。(截图如下)

技术图片

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!