Description
Please use pyenv.
Pyenv - A simple Python version manager.
Installation Instructions
1. install pyenv
$ git clone https://github.com/yyuu/pyenv.git ~/.pyenv
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile # autocompletion
$ exec $SHELL # restart shell
2. use pyenv
$ pyenv install --list # list available version
$ dnf install make gcc zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel # depends
$ CFLAGS="`rpm -E%optflags`" \
pyenv install 3.5.1 -v # install 3.5.1 to $PYENV_ROOT/versions/3.5.1
$ pyenv rehash # refresh pyenv
$ pyenv versions # installed version
$ pyenv global 3.5.1 # Global~
$ pyenv local 3.5.1 , pyenv shell 3.5.1 # current shell
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
EPEL 7 | x86_64 (0)* | EPEL 7 (298 downloads) |
* Total number of downloaded packages.