My .bashrc has this:
enable-pyenv () { # Load pyenv automatically by adding # the following to your profile: export PATH=\"$HOME/.pyenv/bin:$PATH\"
If you want to use the python version from your system:
pyenv local system
https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-global https://github.com/pyenv/pyenv/blob/master/COMMANDS.md#pyenv-local