-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Unable to use venv/bin/activate
when the virtual environment of pyenv-virtualenv is set.
#477
Comments
To add, this happens not only when the virtual environment is set to global. As long as the virtual environment (including local) is set, it cannot be set again. |
I found this was caused by By inserting the following command on line 133 of this script, you can solve the problem that the environment variable cannot be written. local ret=\$?
+ _OLD_VIRTUAL_PATH="\$PATH"
if [ -n "\${VIRTUAL_ENV-}" ]; then However, bash's I don't have much energy to get familiar with the code, so let it be. |
venv/bin/activate
when the virtual environment of pyenv-virtualenv is set to global.venv/bin/activate
when the virtual environment of pyenv-virtualenv is set.
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
pyenv-virtualenv
plugin only. Please refrain from reporting issues of other plugins here.Description
Additional
Execute the following command to create a virtual environment and set the virtual environment as global.
Then I cannot activate the customized environment through the following command.
I determined that this was an issue with pyenv-virtualenv, and it was reproducible reliably on both macOS and my newly created ubuntu server (for privacy reasons).
The text was updated successfully, but these errors were encountered: