recently, I want to replace pyenv with pipenv, so I want to delete pyenv completely
.I did these three things
-
rm-rf ~ / .pyenv
-
brew uninstall pyenv pyenv-virtualenv-- force
- delete pyenv-related configurations in
.zshrc
but when I execute where pyenv
, I get:
pyenv () {
local command
command="${1:-}"
if [ "$-sharp" -gt 0 ]
then
shift
fi
case "$command" in
(activate | deactivate | rehash | shell) eval "$(pyenv "sh-$command" "$@")" ;;
(*) command pyenv "$command" "$@" ;;
esac
}
pyenv:11: command not found: pyenv
I"m confused. I don"t know where this definition came from.
and any command I type in terminal seems to report pyenv:11: command not found: pyenv
, including just typing enter. It looks annoying
the pyenv plugin for oh-my-zsh is also turned off in note:.zshrc