<div dir="ltr">It's from Debian. They had time to break pip, but they don't have time to fix it again.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 14, 2016 at 12:39 PM Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 14 July 2016 at 17:23, Robin Becker <<a href="mailto:robin@reportlab.com" target="_blank">robin@reportlab.com</a>> wrote:<br>
> I used always to build python from source in older ubuntus, but that was<br>
> because we wanted the latest python 2.x etc etc. Using a local copy prevents<br>
> the os from smashing stuff, but means more work whenever a serious upgrade<br>
> is required.<br>
><br>
> When I run python -mvirtualenv I end up with an environment that has pip and<br>
> setuptools already. Are you saying I should do<br>
><br>
> /usr/bin/python -mvirtualenv --no-pip --no-setuptools myenv<br>
> myenv/bin/python get_pip.py<br>
><br>
> and then proceed from there? Or is it foolish to rely on the system python<br>
> at all?<br>
><br>
> I haven't seen this problem in ubuntu 14.04, but that may be just luck.<br>
><br>
> I certainly notice some new behaviour ie the system pip seems to want to<br>
> assert --user whereas it used to fail for lack of rights in installing into<br>
> /usr/lib/python....<br>
<br>
Yes, apparently Ubuntu have patched pip to make --user the default.<br>
I've seen some bug reports caused by this patch, so it's possible that<br>
it's what is causing you problems here. Unfortunately, as that is an<br>
Ubuntu patch you'd need to report it to them.<br>
<br>
Paul<br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div>