运行scrapy报错:You do not have a working installation of the service_identity module

运行scrapy报错:You do not have a working installation of the service_identity module

查了下service_identity这个库已经是安装好了

然鹅卸了装,装了卸,反反复复均是会提示这个错误

问了度娘之后,找到了个解决方案 https://blog.csdn.net/weixin_42139375/article/details/82262198

原因是:本机上的service_identity模块太老旧,而通过install安装的时候不会更新到最新版本

解决方法:

强制升级   pip install service_identity --force --upgrade

或者是找到最新版的安装包进行手动安装

原文地址:https://www.cnblogs.com/aby321/p/11243969.html