首页 > 技术文章 > 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.

hichens 2020-04-25 08:25 原文

pip 安装某个包出错

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.

是说有一个库现在版本不对,需要卸载重装,但是这个库是distutils安装的,不知道直接卸载能不能正确的卸载干净。

解决

pip install xxx --ignore-installed

推荐阅读