I installed the package xxx-1.0using pipand installed the egg file /usr/local/lib/python2.7/dist-packages/xxx-1.0-py2.7.egg. After updating the package, the file xxx-1.0-py2.7.eggwas replaced with xxx-2.0-py2.7.egg. But the update failed. When I tried the update again, pipI saw the file xxx-1.0-py2.7.eggand complained that it was already installed. Having deleted the egg file manually, I can update, but I do not want to do this.
Is there a way to let pipme restore the original egg file if the update fails?
source
share