报错 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 解决方案: 查找包所在位置 pip show PyYAML 找到Location对应的文件夹目录, 删除PyYAML即可。