![]() ![]() 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. |