I'm using Homebrew on my Mac. The OS is Catalina, but I want to decide the Python version myself, so I manage the Python environment with pyenv and pip instead of Python3 on my system.
It happened about twice, but when I run brew update
on Homebrew and do
brew upgrade without thinking about anything, pyenv may be updated. After pyenv is updated, even if you do `` `python3
, you will be impatient with the message "No such file".
in this case,
pyenv rehash
pyenv global 3.8.1
After rehash, respecify the version you want to use with global, and it will return to the original. It's common sense for people who are familiar with pyenv, but I'll post it just in case, as a memorandum of my own.
that's all
Recommended Posts