-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Make VENV_DIR relative to Script directory #71335
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
Comments
I would like to see some enhancement where the activate.bat and activate scripts allow the script to determine where the python executable resides. When the executable cannot be found (because the path doesn't exist for some reason), the system will ultimately find the installed version of python. This can cause side effects that may be non-obvious to users. Example:
Code:
Somewhat related, I've also found that's it's incredibly convenient to also include activate and deactivate files at the root of the venv:
|
Thanks for the suggestion, but I don't propose to change the way things work in this area, for the following reasons:
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: