Related: For HPC, we typically load Python 3 with modules
CentOS is the free open-source version of Red Hat Linux, and for those needing stable EPEL packages, Python 3 is available. More typically one might use Anaconda Linux, but RHEL/CentOS users sometimes work in high-stakes enterprise environments where stability is demanded.
CentOS Python3 install
Here are three distinct ways to install Python 3.6 in CentOS.
This “stable” way to install Python 3.6 on CentOS comes from IUS, which is RHEL-derived.
yum install https://centos7.iuscommunity.org/ius-release.rpm yum update
Install Python 3.6 and pip
yum install python36u python36u-pip
.whl wheel packaging, many packages such as Numpy can be quickly installed via
pip without compilation.
Anaconda Python (and it’s mini-install, Miniconda) are a popular cross-platform Python distribution. Just like on other Linux platforms, I install via
- Download Miniconda
- bash Miniconda3*.sh
Intel Python is a conda channel, highly optimized for Intel CPUs.