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
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- Python Bug:pip安装报错 Cannot uninstall 'django'. It is a distutils installed project and thus we cannot
- pip "Cannot uninstall 'six'. It is a distutils installed project..." 解决方法
- pip版本降级 解决 Cannot uninstall 'XXX'. It is a distutils installed project and thus we cannot accur
- yum安装软件时提示another app is currently holding the yum lock;waiting for it to exit
- Found existing installation: six 1.5.2 Cannot uninstall 'six'. It is a distutils installed project a...
- 安装docker-tool报错 ------------Error with pre-create check: "Hyper-V is installed. VirtualBox won't 。。。
- yum安装软件提示:Public key for xxx.rpm is not installed
- Centos6.5使用yum安装软件的时候 Another app is currently holding the yum lock; waiting for it to exit...
- ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately d
- Python - requests请求参数包含中文报错:UnicodeEncodeError: 'latin-1' codec can't encode characters in position 13-14: 小明 is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.
- 使用pip安装软件时报pip is configured with locations that require TLS/SSL, however the ssl modul错误
- pip安装第三方库报错:** is not a supported wheel on this platform
- ubuntu利用apt-get install命令安装软件时报错:有另外一个进程正在使用(is another process using it)
- Cannot uninstall 'enum34'. It is a distutils installed project and thus we cannot accurately.
- cordova安装插件的时候提示: “git” command line tool is not installed: make sure it is accessible on your PATH.
- Ubuntu 16.04 安装ROS kinetic提示Depends: ros-kinetic-desktop but it is not going to be installed
- It is a distutils installed project and thus we cannot accurately determine which files belong to it
- ubuntu利用apt-get install命令安装软件时报错:有另外一个进程正在使用(is another process using it)
- yum 安装软件时报Public key for * is not installed
- centos安装软件时出现以下报错:Another app is currently holding the yum lock; waiting for it to exit..