Notes on installing Python on CentOS
#Install pyenv
git clone git://github.com/yyuu/pyenv.git .pyenv
echo 'export PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
#Check the Python version that can be installed
pyenv install -l
#Installation
pyenv install 3.4.1
pyenv rehash
pyenv global 3.4.1
Recommended Posts