-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create a python 2.7 environment #1738
Labels
Comments
@manthey thanks for the excellent debugging, you're right 👍 |
5 tasks
FWIW, I'm seeing this with
|
Working on the fix 👍 |
Released via https://pypi.org/project/virtualenv/20.0.13/ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue
In an Ubuntu 18.04 docker environment, tox is trying to do
virtualenv --no-download --python /usr/bin/python2.7 py27
. With virtualenv 20.0.10 this worked. As of 20.0.11, this fails with an error:It should still work.
Environment
Provide at least:
pip list
of the host python wherevirtualenv
is installed:Output of the virtual environment creation
Make sure to run the creation with
-vvv --with-traceback
:The specific error looks like it was introduced in #1728 at https://github.com/pypa/virtualenv/blob/master/src/virtualenv/create/via_global_ref/builtin/python2/python2.py#L79-L85. Specifically, this line (https://github.com/pypa/virtualenv/blob/master/src/virtualenv/create/via_global_ref/builtin/python2/python2.py#L85)
should probably be
since mappings are a list of tuples.
The text was updated successfully, but these errors were encountered: