1. 程式人生 > WINDOWS開發 >win10 安裝 scrapy

win10 安裝 scrapy

參考連結:

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

就可以建立成功了。(截圖如下)

技術分享圖片