当前位置: 首页 > 工具软件 > Augeas > 使用案例 >

Python语言pip升级python-augeas失败之解决办法

郭星文
2023-12-01

一直用pip升级python-augeas,如下:

pip install --upgrade python-augeas

升级失败,提示如下:

ERROR: Cannot uninstall 'python-augeas'. 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 --upgrade --ignore-installed python-augeas

大功告成~~~

 类似资料: