一直用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
大功告成~~~