One, epel source installation
First install epel source:
yum install epel-release
Query yum's python3 status with epel source:
Repository epel is listed more than once in the configuration
abrt-addon-python3.noarch 2.1.11-50.el7 epel
boost-python36.x86_64 1.53.0-30.el7 epel
boost-python36-devel.x86_64 1.53.0-30.el7 epel
boost-python36-static.x86_64 1.53.0-30.el7 epel
boost169-mpich-python3.x86_64 1.69.0-2.el7 epel
boost169-mpich-python3-devel.x86_64 1.69.0-2.el7 epel
It can be seen from the above that we can install python3
, python34
, and python36
. Then I take the installation of python36 as an example, the following is the script for installing python36 and its corresponding pip:
yum install python36 python36-pip
After installation, you can use it directly, just run python3
or python36
or python3.6
command, library installation uses pip3
or pip3.6
command.
Recommended Posts