Bug#782795: python-pip: breaks with relocatable virtualenv, assert sys.prefix != real_prefix

2018-03-26 Thread Filippo Giunchedi
On Sat, Mar 24, 2018 at 05:50:40PM -0400, Stefano Rivera wrote: > Version: 9.0.1-2 > > Hi Filippo (2015.04.17_19:05:52_-0400) > > it looks like pip stops working inside a virtualenv after using > > virtualenv --relocatable > > I would say that that's actually a virtualenv bug. But the better news

Bug#782795:

2015-09-22 Thread Gergo Tisza
What happens, I believe, is that --relocatable prepends some code to all files in /bin to run activate_this.py, which in turn changes sys.prefix (the grandparent directory of Python libraries, normally something like /usr) to point to the venv and saves the old value in sys.real_prefix. When you ru

Bug#782795: python-pip: breaks with relocatable virtualenv, assert sys.prefix != real_prefix

2015-04-17 Thread Filippo Giunchedi
Package: python-pip Version: 1.5.6-5 Severity: normal hi, it looks like pip stops working inside a virtualenv after using virtualenv --relocatable how to reproduce: i7:/tmp$ virtualenv venv Running virtualenv with interpreter /usr/bin/python2 New python executable in venv/bin/python2 Also creati