[Bug 1536638] Re: pip >= 8.0.0 fails because of egg-info files in python stdlib

Barry Warsaw 1536638 at bugs.launchpad.net
Mon Apr 18 19:56:31 UTC 2016


OTOH, we're hoping pip will learn how to work better with distro
provided packages.

-- 
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:
  Invalid

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