Message271278
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. |
|
Date |
User |
Action |
Args |
2016-07-25 14:52:04 | mehaase | set | recipients:
+ mehaase, vinay.sajip, vstinner, mathieui, dstufft, gilgamezh, gracinet, alexjc |
2016-07-25 14:52:03 | mehaase | set | messageid: <1469458323.92.0.777925028879.issue24875@psf.upfronthosting.co.za> |
2016-07-25 14:52:03 | mehaase | link | issue24875 messages |
2016-07-25 14:52:03 | mehaase | create | |
|