&tag(pyenv); *目次 [#i1e2f4d4] #contents *関連ページ [#x5e55667] -[[pip]] *参考情報 [#z0d9faef] -[[Python - pyenvとvirtualenvのインストールと使い方 - Qiita:http://qiita.com/la_luna_azul/items/3f64016feaad1722805c]] *基本 [#cf5103f3] -pyenvはPythonバージョンの切り替え、virtualenvはその上でさらにツールセットの切り替えを行う? *インストール [#fcdd6313] -[[yyuu/pyenv-installer:https://github.com/yyuu/pyenv-installer]]を使えば自動でもろもろインストールしてくれる。以下手動でインストールする場合 -gitで最新版とプラグインをインストールする。[[Plugins · yyuu/pyenv Wiki:https://github.com/yyuu/pyenv/wiki/Plugins]] git clone git://github.com/yyuu/pyenv.git ~/.pyenv git clone https://github.com/yyuu/pyenv-pip-rehash.git ~/.pyenv/plugins/pyenv-pip-rehash git clone git@github.com:Tacahilo/pyenv-update.git ~/plugins/pyenv-update -.zshrcに追加 #pre{{ export PYENV_ROOT="$HOME/.pyenv" if [ -d "${PYENV_ROOT}" ]; then export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" fi }} -バージョン確認 pyenv install --list -インストール pyenv install 2.7.8