You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed pyenv and pyenv-virtualenv. pyenv seems to be working great, and it appears I am able to create a virtualenv, but I can not seem to activate the virtualenv.
test3.3 >> pyenv virtualenvs
py276 (created from /Users/insomniac/.pyenv/versions/2.7.6)
py333 (created from /Users/insomniac/.pyenv/versions/3.3.3)
test3.3 >> pyenv activate py333
pyenv: no such command `activate'
How can I activate the virtual env? Also, is there a way to auto-activate and auto-deactivate the virtual environment when I go in and out of the directory?
Thanks,
C.
The text was updated successfully, but these errors were encountered:
Perhaps, just restarting your shell will enable the pyenv activate command.
The shell function of pyenv caches the list of some pyenv commands (pyenv-sh-*) in its definition. It will disturb pyenv to invoke these commands without reloading. Just restarting current shell will solve the issue.
I couldn't implement the auto-activate feature because the version in pyenv is determined on the runtime of shim scripts. By some chance, I will be add those feature if it is available, but I have not found the way to do it yet.
I've installed pyenv and pyenv-virtualenv. pyenv seems to be working great, and it appears I am able to create a virtualenv, but I can not seem to activate the virtualenv.
How can I activate the virtual env? Also, is there a way to auto-activate and auto-deactivate the virtual environment when I go in and out of the directory?
Thanks,
C.
The text was updated successfully, but these errors were encountered: