使用平常的pip 更新版本命令出现错误
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.
大致意思不能卸载,这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这只会导致部分卸载。
暴力忽视错误升级:
pip install --ignore-installed PyYAML