Found existing installation:xxxx

Found existing installation:xxxx
最近在跑模型的时候老遇到这种问题:
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.
解决方法:直接在anconda目录下删除掉这个包,然后pip install 相应的包就可以了。

你可能感兴趣的:(PyYAML,python)