首页 > 解决方案 > 这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这只会导致部分卸载

问题描述

pip3 uninstall -y pyyaml得到错误:

Found existing installation: PyYAML 5.3.1
ERROR: Cannot uninstall 'PyYAML'. 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.

有没有办法强制卸载或任何其他方法来解决这个问题?

标签: pythonpipuninstallationdistutilspyyaml

解决方案


推荐阅读