This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mehaase
Recipients alexjc, dstufft, gilgamezh, gracinet, mathieui, mehaase, vinay.sajip, vstinner
Date 2016-07-25.14:52:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469458323.92.0.777925028879.issue24875@psf.upfronthosting.co.za>
In-reply-to
Content
I have the same problem on a standard installation of Python 3.5 (on OS X via Homebrew). This bug is almost a year old, and it is a doozy: it utterly defeats the purpose of --system-site-packages. 

In the hope of getting some momentum going, I tried out the option suggested by dstufft: adding --ignore-installed in ensurepip's bootstrap() does seem to fix the problem.

I've never contributed a patch to Python before so I've probably screwed this up, but I'm attaching a patch that applies against latest python 3.5 on github (1b279c2). Sorry, I don't know what the equivalent Hg hash is, but this is a pretty minimal patch so it should be easy to apply.
History
Date User Action Args
2016-07-25 14:52:04mehaasesetrecipients: + mehaase, vinay.sajip, vstinner, mathieui, dstufft, gilgamezh, gracinet, alexjc
2016-07-25 14:52:03mehaasesetmessageid: <1469458323.92.0.777925028879.issue24875@psf.upfronthosting.co.za>
2016-07-25 14:52:03mehaaselinkissue24875 messages
2016-07-25 14:52:03mehaasecreate