解決コマンド
gitで最新バージョンのpyenvに更新
cd ~/.pyenv/plugins/python-build/../.. && git pull && cd -
解決前のエラーメッセージ
python-build: definition not found: 3.7.0 The following versions contain `3.7.0' in the name: 3.7.0a2 miniconda-3.7.0 miniconda3-3.7.0 See all available versions with `pyenv install --list'. If the version you need is missing, try upgrading pyenv: cd /Users/user/.pyenv/plugins/python-build/../.. && git pull && cd -