您的位置:首页 > 产品设计 > UI/UE

pip安装软件报错:Cannot uninstall 'requests'. It is a distutils installed.........

2020-04-01 18:30 796 查看

安装icrawler时候运行如下命令

sudo pip install icrawler 

报错:

Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

 

这是就旧版本的requests 依赖比较多,pip不能准确找到依赖关系。

解决方式:忽略旧版本的依赖信息

运行如下命令:

sudo pip install icrawler --ignore-installed requests

 

  • 点赞
  • 收藏
  • 分享
  • 文章举报
代码随想录 博客专家 发布了230 篇原创文章 · 获赞 249 · 访问量 26万+ 他的留言板 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐