Public bug reported: Up-to-date pip might fail because ubuntu ships some egg-info files for stdlib packages in /usr/lib/python2.7/, but egg-info files are only for locally installed packages.
How to reproduce with argparse: $ virtualenv venv $ . venv/bin/activate $ pip install -U pip $ pip install -U argparse Collecting argparse Downloading argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: argparse Found existing installation: argparse 1.2.1 Detected a distutils installed project ('argparse') which we cannot uninstall. The metadata provided by distutils does not contain a list of files which have been installed, so pip does not know which files to uninstall. ** Affects: python2.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1536638 Title: pip >= 8.0.0 fails because of egg-info files in python stdlib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1536638/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs