Python PIP - ERROR Cannot uninstall PyYAML

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Python PIP - ERROR Cannot uninstall PyYAML

Ошибка при установке 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.

Решение - применить опцию --ignore-installed:

# pip install --ignore-installed PyYAML