| Store | Cart

Re: [Distutils] [TIP] Virtualenv bug breaking tox runs

From: Randy Syring <ran...@thesyrings.us>
Thu, 16 Jul 2015 11:20:32 -0400
On 07/15/2015 02:08 AM, Marius Gedminas wrote:
> So, I realize I could use `python3 -m virtualenv` if I was running the> command myself.  But, tox is making the call to virtualenv.>> This was working the last time I tested it but has now broken.  I'm guessing> that is because I upgraded tox or virtualenv?> It broke now because you 'sudo pip install'ed something that depends on> something that ships /usr/local/lib/python2.7/dist-packages/reprlib.py> (which probably comes from pies2overrides)>>> Any pointers welcome as to the best way to resolve this issue now?> I would recommend sudo pip uninstall pies2overrides (and whatever> depended on it).  A good way to avoid pain is to never ever 'sudo pip> install' stuff.>> A different workaround would be to create a clean virtualenv, install> tox into it, then run tox from that virtualenv.>

Thanks so much, that was exactly the problem.  I've always had my system 
setup to have a few default packages installed globally and then use 
virtualenvs for everything else.  Not sure where pie2overrides came 
from, but I can assure you it's getting booted ASAP!

*Randy Syring*
Husband | Father | Redeemed Sinner

/"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)/

_______________________________________________
Distutils-SIG maillist  -  Dist...@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Recent Messages in this Thread
Randy Syring Jul 15, 2015 04:55 am
Marius Gedminas Jul 15, 2015 06:08 am
Ionel Cristian Mărieș Jul 15, 2015 06:42 am
Randy Syring Jul 16, 2015 03:20 pm
Messages in this thread