A memo when I solved the error that appeared when I was breathing in 3.8.0.
When I was having trouble with another problem, I got an error when I was trying to reinstall Python and pip to solve it.
% pyenv install 3.8.0 python-build: definition not found: 3.8.0
See all available versions with `pyenv install --list'.
If the version you need is missing, try upgrading pyenv:
brew update && brew upgrade pyenv
Can't find 3.8.0? Really?
As I was told, I checked with pyenv install --list
and it certainly wasn't there. However, it seems that the cause is that the version of pyenv itself is old. All you have to do is upgrade pyenv (with Homebrew update) according to the command provided.
brew update
brew upgrade pyenv
You can now pyenv install 3.8.0
.
Recommended Posts