pip >= 8.0.0 fails because of egg-info files in python stdlib
Bug #1536638 reported by
Florian Kisser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.7 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Up-to-date pip might fail because ubuntu ships some egg-info files for stdlib packages in /usr/lib/
How to reproduce with argparse:
$ virtualenv venv
$ . venv/bin/activate
$ pip install -U pip
$ pip install -U argparse
Collecting argparse
Downloading argparse-
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.
To post a comment you must log in.
no, egg-info files are not only for locally installed packages. almost every Python module in Ubuntu is shipped with an egg-info file.