Python 3.6 by Software Collections
rh-python36 - A release of Python 3.6 with a number of additional utilities. This Software Collection gives developers on CentOS and RHEL access to Python 3.6 and allows them to benefit from various advantages and new features of this version. The rh-python36 Software Collection contains Python 3.6 interpreter, a set of extension libraries useful for programming web applications and mod_wsgi (only supported with the httpd24 Software Collection), PostgreSQL database connector, and numpy and scipy.
EL6 tests EL7 testsReport a bug in the issue tracker
You can get started in three easy steps:
# 1. Install a package with repository for your system: # On CentOS, install package centos-release-scl available in CentOS repository # and enable the testing repository: $ sudo yum install centos-release-scl $ sudo yum-config-manager --enable centos-sclo-rh-testing # On RHEL, enable RHSCL and RHSCL-beta repositories for you system: $ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms $ sudo yum-config-manager --enable rhel-server-rhscl-beta-7-rpms # 2. Install the collection: $ sudo yum install rh-python36 # 3. Start using software collections: $ scl enable rh-python36 bash
At this point you should be able to use python just as a normal application. Some examples of new available commands follow:
$ python my-app.py $ pip install --user Flask $ pip install --user Django
In order to view the individual components included in this collection, including additional python modules, you can run:
$ sudo yum list rh-python36\*
Python Software Collection as Docker Formatted Container
On CentOS 7 and RHEL 7 you can pull the image with the following command:
$ docker pull rhscl/python-36-rhel7
For more on the docker image follow this link to public source repository.
Community Project: Maintained by upstream communities of developers. The software is cared for, but the developers make no commitments to update the repositories in a timely manner.
|Operating system||Package with repo||Browse files|
yum install centos-release-scl-rh
yum-config-manager --enable rhel-server-rhscl-7-rpms
Rated by 2 users