Skip to content
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

python2 should link to python (if using python2 on venv) #347

Closed
turicas opened this issue Oct 22, 2012 · 1 comment
Closed

python2 should link to python (if using python2 on venv) #347

turicas opened this issue Oct 22, 2012 · 1 comment

Comments

@turicas
Copy link

turicas commented Oct 22, 2012

Following PEP-0394, I'm using #!/usr/bin/env python2 in my scripts, but it does not work on virtualenvs by default! I need to manually link:

cdvirtualenv
cd bin
ln -s python python2

I think virtualenv should handle this problem automatically, so we can use the PEP-0394 without any problems.

@turicas
Copy link
Author

turicas commented Oct 30, 2012

Thank you. :)

flavioamieiro added a commit to flavioamieiro/pypln.backend that referenced this issue Nov 5, 2014
This is a (known virtualenv
issue)[pypa/virtualenv#347] and should be fixed
upstream soon.
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants