Mark added the comment:

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.

----------
keywords: +patch
nosy: +mehaase
versions: +Python 3.5
Added file: http://bugs.python.org/file43880/0001-Fix-issue-24875.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24875>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to