Unable to delete pyenv completely

recently, I want to replace pyenv with pipenv, so I want to delete pyenv completely

.

I did these three things

  1. rm-rf ~ / .pyenv
  2. brew uninstall pyenv pyenv-virtualenv-- force
  3. 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

Mar.20,2021

turns off the problem. It's something that is cached by shell. It would be nice to reopen a shell.

  • Curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

    I installed python version control pyenv and pyenv-virtualenv, on the OSX system, but reported an error in pyenv install 2.7.3. The screenshot of the error is as follows: View the installation log, but only the log path record has no relevant informa...

    Apr.03,2021
  • Pyenv: activate: command not found

    problem description anaconda installed with pyenv pyenv install anaconda3-5.2.0 pyenv local anaconda3-5.2.0 the new environment is successful, but the activation environment is not good conda create -n test source activate test -pyenv: activate: co...

    Jul.22,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34742-2bf30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34742-2bf30.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?