LoginSignup
1
0

More than 1 year has passed since last update.

pyenvでバージョン変更する際に使うコマンド

Posted at

インストール済みのバージョンを表示

$ pyenv versions
  system
  3.6.12
* 3.8.0 (set by /home/hoge/.python-version)

pythonのバージョン切り替え

globalにすると全体、localにするとカレントディレクトリに反映される

$ pyenv local 3.6.12
$ python --version
  Python 3.6.12
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0