LoginSignup
12
8

More than 5 years have passed since last update.

pyenvのlistが更新されない時

Posted at

brewで入れたpyenvで3.5系のpythonの最新を使いたい時
- brew upgrade pyenv
- pyenv update
しても pyenv insall -lの更新がされない時、

公式のここを実行したらplugins の階層も更新されて3.5系のpythonも入った。

MacBookPro:~ $ cd $(pyenv root)
MacBookPro:.pyenv $ git pull
bash_profile
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"

# Setting PATH for Python 3.5
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
eval "$(pyenv init -)"
12
8
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
12
8