Closed luzfcb closed 9 years ago
This does appear to be pypa/virtualenv#671, yes; the issue is with virtualenv having a python 2.7 packages directory on the path when running python 3.4, leading to much confusion (I have it complaining about reprlib similarly). My workaround is to make sure the virtualenv in which tox is running does not have pies/pies2overrides installed.
Unfortunately, I don't think this is something I can fix, in the meantime for my own projects like isort I've started switching to single file version of pies, called "pie_slice" https://github.com/timothycrosley/isort/blob/develop/isort/pie_slice.py so that they don't run into this kind of issues when used.
This error is very strange. probably related to https://github.com/pypa/virtualenv/issues/671
I could reproduce the problem in another machine. I created new clean vps with Ubuntu 14.04 x64 in the Digital Ocean, login with root user after, I ran the following commands:
download and install latest version of pip and virtualenv on Python2
check instaled packages with pip freeze:
create a new virtualenv with python3
install pies2overrides
create another new virtualenv with python3
In short, the sequence of commands has been: