![]() ![]() first-party RPMs instead of third-party). Using the SCL yum repos may be better than other yum repos because the RPMs are developed/tested by Redhat (i.e. How to install Python 3.6 on CentOS 7 sudo yum install -y Īlong with Python 2.7 and 3.3, Red Hat Software Collections now includes Python 3.4 - all work on both RHEL 6 and 7. Sudo yum install -y python36u python36u-pip How to install Python 3.6 on CentOS 6 sudo yum install -y The guys behind are from Rackspace, so I think that they are quite trustworthy. The IUS Community provides some up-to-date packages for RHEL & CentOS. WARNING: the pyenv script is deprecated in favour of `python3.6 -m venv` If you use the pyvenv script, you'll get a WARNING: $ pyvenv-3.6 /tmp/foo You can create your virtualenv using pyvenv: python3.6 -m venv /tmp/foo Sudo yum install -y python36 python36-pip ![]() With CentOS7, pip3.6 is provided as a package :) sudo yum install -y epel-release You can create your virtualenv using pyvenv: pyvenv /tmp/foo Sudo yum install -y python34-setuptools # install easy_install-3.4 How to install Python 3.4 on CentOS 6 sudo yum install -y epel-release Red Hat has added through the EPEL repository: If you work in a cloud environment with multiple VMs, compiling python3 on each VMs is not acceptable. you can install and uninstall (properly) python3.Installing from RPM is generally better, because:
0 Comments
Leave a Reply. |