一直用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
大功告成~~~
本文介绍了一种使用pip升级python-augeas时遇到的卸载错误,并提供了解决方案。通过添加--ignore-installed参数,成功解决了无法准确确定哪些文件属于该项目导致的卸载不完全问题。
226

被折叠的 条评论
为什么被折叠?



