[Bug 1536638] [NEW] pip >= 8.0.0 fails because of egg-info files in python stdlib
    Florian Kisser 
    florian.kisser at gmx.net
       
    Thu Jan 21 13:59:23 UTC 2016
    
    
  
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
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1536638
Title:
  pip >= 8.0.0 fails because of egg-info files in python stdlib
Status in python2.7 package in Ubuntu:
  New
Bug description:
  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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1536638/+subscriptions
    
    
More information about the foundations-bugs
mailing list