Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue with prefixes causing a circle in version >= 20.0.0 #1632
With virtualenv >= 20.0.0 I'm getting a
Here is the command:
I tried all versions above 20.0.0, including straight from master with the same error message.
This was run on a Mac, but I've also reproduced it on CentOS 7 as well
I know this is quite convoluted, but here is a
FROM python RUN cp -Lr /usr/local /test RUN pip install 'virtualenv<20' RUN virtualenv test RUN test/bin/pip install 'virtualenv==20.0.4' RUN echo '/test' > /test/lib/python3.8/orig-prefix.txt RUN /test/bin/python3.8 -m virtualenv --no-download --python /test/bin/python3.8 py38 -vvv
Just to add some context to the
First time using tox and I too encountered this error on Windows with Python 3.7 and virtualenv 20.0.4
Edit: I tried using Tox on a completely different VM using the same source, and it worked fine. I suspect the error occurred because the prior VM has a copy of Conda installed (even though the venv I was executing from was Python 3.7). Not sure if Conda modifies install_scripts, but that's my guess.
Hello, a fix for this issue has been released via virtualenv 20.0.6; see https://pypi.org/project/virtualenv/20.0.6/ (https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-6-2020-02-26) . Please give a try and report back if your issue has not been addressed; if not, please comment here, and we'll reopen the ticket. We want to apologize for the inconvenience this has caused you and say thanks for having patience while we resolve the unexpected bugs with this new major release.