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 #Confirmez que le chemin passe
% pyenv install -l #Vérifiez la version installable
% pyenv install x.x.x # x.x.installer 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