If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run: cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update.
brew update and retried your prior step?brew doctor, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)?_You can erase any parts of this template not applicable to your Issue._
I installed the latest pyenv(v1.0.2) using homebrew.
But when I tried to run python, it complains "No such file or directory"
/usr/local/var/pyenv/shims/python: line 21: /usr/local/Cellar/pyenv/1.0.2/libexec/pyenv: No such file or directory
I found that pyenv is installed at /usr/local/Cellar/pyenv/1.0.2_1, but the shims looking at /usr/local/Cellar/pyenv/1.0.2
How can I solve this without modifying shims or formula by hand?
This seems to be a pyenv usage question and I'm not sure if any of us use it. If pyenv works like rbenv then pyenv rehash may fix this. Let me know if it does.
@MikeMcQuaid It works! Thanks!
Most helpful comment
This seems to be a
pyenvusage question and I'm not sure if any of us use it. Ifpyenvworks likerbenvthenpyenv rehashmay fix this. Let me know if it does.