After updating pyenv (such as through a brew upgrade
), run pyenv rehash
to reset the shim routes. Otherwise, you get errors like:
/Users/[USER]/.pyenv/shims/python2: line 21: /usr/local/Cellar/pyenv/1.2.4/libexec/pyenv: No such file or directory
After updating pyenv (such as through a brew upgrade
), run pyenv rehash
to reset the shim routes. Otherwise, you get errors like:
/Users/[USER]/.pyenv/shims/python2: line 21: /usr/local/Cellar/pyenv/1.2.4/libexec/pyenv: No such file or directory
👍 Thanks for sharing this. This was the only hit that came up for me on google. Turns out I the exact same version error (
1.2.4
)