My .bashrc has this:
enable-pyenv () { # Load pyenv automatically by adding # the following to your profile: export PATH=\"$HOME/.pyenv/bin:$PATH\"
For me, what worked ultimately was the brute force method of removing all pyenv paths from the $PATH variable:
pyenv
$PATH
PATH=`echo $PATH | tr ':' '\n' | sed '/pyenv/d' | tr '\n' ':' | sed -r 's/:$/\n/'`
I wish pyenv offered a better way by itself.