Skip to content

Instantly share code, notes, and snippets.

@t3yamoto
Last active November 2, 2021 05:35
Show Gist options
  • Save t3yamoto/a65235a98f5ee10b5eda7c16efd8f83a to your computer and use it in GitHub Desktop.
Save t3yamoto/a65235a98f5ee10b5eda7c16efd8f83a to your computer and use it in GitHub Desktop.
anyenv で pyenv 入れてる場合の `pyenv install --list` で出てくるバージョンの最新化方法
$ anyenv update
$ pyenv install --list
$ pyenv install 3.9.7 # 入れたいバージョン
$ pyenv local 3.9.7 # 使いたいバージョン
$ pipenv --python $(cat .python-version) # pipenv で使うバージョン、仮想環境も更新
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment