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 install PyYAML --upgrade --ignore-installed PyYAML
直接升级。

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 install PyYAML --upgrade --ignore-installed PyYAML
直接升级。