pyenv-virtualenv
pyenv-virtualenv copied to clipboard
pyenv activate works but the completion pyenv-activate not work!
Too many issues will kill our team's development velocity, drastically. Make sure you have checked all steps below.
Prerequisite
- [x] Make sure your problem is not listed in the common build problems.
- [x] Make sure no duplicated issue has already been reported in the pyenv issues. You should look for closed issues, too.
- [x] Make sure you are not asking us to help solving your specific issue.
- GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
- [x] Make sure your problem is not derived from packaging (e.g. Homebrew).
- Please refer to the package documentation for the installation issues, etc.
- [x] Make sure your problem is not derived from plugins.
- This repository is maintaining
pyenvand the defaultpython-buildplugin only. Please refrain from reporting issues of other plugins here.
- This repository is maintaining
Description
- [x] Platform information (e.g. Ubuntu Linux 16.04):Manjaro latest
- [x] OS architecture (e.g. amd64):x86-64
- [x] pyenv version:1.2.15
- [x] Python version:system 3.8
I'm using zsh, and got the completions as below when input pyenv:
hmank ~/./versions » pyenv --version
pyenv PYENV_ROOT pyenv-uninstall pyenv-virtualenv-init
pyenv-activate pyenv-sh-activate PYENV_VERSION_OLD PYENV_VIRTUALENV_INIT
pyenv-deactivate pyenv-sh-deactivate pyenv-virtualenv pyenv-virtualenv-prefix
pyenv-install PYENV_SHELL pyenv-virtualenv-delete pyenv-virtualenvs
I install a python3.7 version by pyenv install 3.7.4, then create a virtualenv by pyenv-virtualenv by pyenv virtualenv 3.7.4 nn.
And pyenv activate nn active the nn successfully.
But the zsh completion pyenv-activate nn failed, got error:
Failed to activate virtualenv.
Perhaps pyenv-virtualenv has not been loaded into your shell properly.
Please restart current shell and try again.
Same error when I use pyenv-activate 3.7.4.
What's the difference between pyenv-activate and pyenv activate ?
Why pyenv-activate not work?