darmanex weblog journey
!(c) 2008 - 2022
Powered by Blogger
October 17, 2020

Pyenv shims cannot find executables

darmanex | 3:53 PM
After I upgrade python to the new version on my laptop, and when I run python I got this warning:
/Users/darm/.pyenv/shims/python3: line 21: /usr/local/Cellar/pyenv/1.2.18/libexec/pyenv: No such file or directory

To solve the issue, you have to rehash it, like below.
pyenv rehash


Post a Comment

Please leave a comment and do not give a spam! Comments that smells of spam will be deleted without prior notice