Как установить Python 3 на CentOS 7?


centos  python  pip 
Ответы
yum install epel-release
yum install python34

Установка pip и setuptools

curl -O https://bootstrap.pypa.io/get-pip.py
python3.4 get-pip.py

Python 3.7

cd /usr/src
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz
tar xpJf Python-3.7.0.tar.xz
cd Python-3.7.0
yum -y install yum-utils
yum -y groupinstall development
yum -y install openssl-devel sqlite-devel libffi-devel \
bzip2-devel libzip-devel xz-devel lzma-sdk-devel uuid-devel \
readline-devel ncurses-devel
./configure
make
make install

Сборка с оптимизацией

./configure --enable-optimizations --with-libs --with-fpectl --with-lto \
--with-threads --with-thread --enable-shared --disable-ipv6