安装yolov5的requirements.txt报错ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project an

问题描述:

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.

 问题原因:
错误:无法卸载“ PyYAML”。 这是一个distutils安装的项目,因此我们无法准确确定属于该文件的文件,而这只会导致部分卸载。

解决方法:

执行命令:

pip install --upgrade nni --ignore-installed

安装yolov5的requirements.txt报错ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project an_第1张图片

 

 

你可能感兴趣的:(yolov5安装问题解决,windows)