I tried to update it because pyenv seems to be old, but I can't.
When I checked with witch
, the following display was displayed. I can't remember what it was.
sot528@mac ~ % which pyenv
pyenv () {
local command
command="${1:-}"
if [ "$#" -gt 0 ]
then
shift
fi
case "$command" in
(activate | deactivate | rehash | shell) eval "$(pyenv "sh-$command" "$@")" ;;
(*) command pyenv "$command" "$@" ;;
esac
}
A long time ago, when I built the environment of pyenv, brew did not support it and I did it manually.
Since it was built in the root directory, delete it and put it back in with brew.
rm -fr ~/.pyenv
brew install pyenv
Recommended Posts