【Python】【爬虫】【scrapy】运行spider时报No module named ‘attrs‘怎么办?

【背景】

运行spider时报No module named ‘attrs’,但是pip install attrs又说已经满足了。

【分析】

分析是依赖版本不正确导致的。

【解决】

pip install --upgrade attrs

问题解决

猜你喜欢

转载自blog.csdn.net/weixin_41697242/article/details/128058259