Skip to content

Instantly share code, notes, and snippets.

@ryanmeasel
Created July 26, 2018 16:58
Show Gist options
  • Save ryanmeasel/ffad7b57f4151a49a4e81704d9fc49f5 to your computer and use it in GitHub Desktop.
Save ryanmeasel/ffad7b57f4151a49a4e81704d9fc49f5 to your computer and use it in GitHub Desktop.
Pyenv usage and troubleshooting

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

@davidpfarrell
Copy link

👍 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment