install_pyenv.sh
% cd $HOME
% git clone https://github.com/yyuu/pyenv.git .pyenv
% echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $HOME/.zshrc
% echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> $HOME/.zshrc
% echo 'eval "$(pyenv init -)"' >> $HOME/.zshrc
% exec $SHELL -l
% which pyenv #Confirm that Path is passing
% pyenv install -l #Check the installable version
% pyenv install x.x.x # x.x.install x
install_pyenv-virtualenv.sh
% cd $PYENV_ROOT/plugins
% git clone https://github.com/yyuu/pyenv-virtualenv.git
% exec $SHELL -l
% pyenv virtualenvs
install_pip
% cd $HOME
% curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
% which easy_install
% which pip
% pip list
Recommended Posts