An error occurs whenever I turn on the terminal.
# Terminal
/Users/{username}/.zshrc:103: command not found: pyenv
/Users/{username}/.zshrc:104: command not found: pyenv
# line 103, 104 of /Users/{username}/.zshrc
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
There's no problem with the annotation. But I think I wrote it down because I needed two codes when I used Catalina, so is it okay if I don't have it?
Oh, but using brew install pyenv
caused an installation error.
It was installed using arch -arm64 brew install pyenv
as the guide in the error message.
Not only pyenv, but also pyenv-virtualenv.
The Catalina time machine was moved to the new MacBook Air M1, and the data seemed to have passed normally, but none of the applications have passed.
What's the problem? Did the other people have their applications transferred together?
Ah, the existing workspace folder, the GitHub clone folder, has all disappeared.
I had the same issue and it ended up being The line, eval "$(pyenv init -)" was above the homebrew eval line, eval $(/opt/homebrew/bin/brew shellenv) in my.zshrc.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.