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” 显示安装成功。

原文地址:https://www.cnblogs.com/USTBlxq/p/12171395.html