pip安装:Cannot uninstall ''. It is a distutils installed project and thus we cannot accurately....解决办法

pip安装:Cannot uninstall ''. It is a distutils installed project and thus we cannot accurately....解决办法

 

1. 暴力删除:

我的python是在anaconda下,依次进入  anaconda3安装目录/lib/python3.6/site-packages/ ,搜索<package name>.egg-info,手动删除;

2. 网上下载相应的安装包

下载好对应版本的 whl文件,在下载文件下,打开终端,输入 “pip install  xxx.whl” 显示安装成功。

 

posted @ 2020-01-09 14:38  勤奋的小呆  阅读(2808)  评论(0编辑  收藏  举报