-
-
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
Error while creating Python2.7 virtualenv #1694
Comments
Interesting, can you reproduce this with a CentOS docker image? Does RHEL packages python differently? @vstinner can you provide some insight into this? @tzulberti can you also post the content of |
this is the content of the json file:
I will check if I can create a Docker file to recreate the issue |
Here's the part which does not seem to add up:
So this tells us that the standard library (of which |
I see the bug here, seems |
@tzulberti can you give #1697 a try? |
Resolves #1694. Signed-off-by: Bernat Gabor <[email protected]>
Hello, a fix for this issue has been released via virtualenv 20.0.9; see https://pypi.org/project/virtualenv/20.0.9/ (https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-9-2020-03-08). 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. |
No, thank you for improving the python environment for all of us. I will test this tomorrow |
@gaborbernat Thank you. I tested virtualenv 20.0.10 and I could create the virtualenv. Thank you again for all your work |
You're welcome 👍thanks for the detailed error report and testing. |
Issue
Hi. I am trying to create a virtualenv for python 2.7 but it fails:
But, if I run: /usr/bin/python2.7 it finishes ok.
On the same computer, I try to create a virtualenv without specifing the python version and it creates everyting:
I am using the following virtualenv version:
Output of the virtual environment creation
Make sure to run the creation with
-vvv --with-traceback
:But if I check the output of the
os
module it is at:The text was updated successfully, but these errors were encountered: