CentOS 7 comes with some old version of Python 2 - which is going EOL in a couple of years.
Also, Django recommends Python 3 https://www.djangoproject.com/download/
#this will probably install a new version of docker, and you will likely lose all your containers !!!
sudo yum -y update
#better to reboot now
sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm
sudo yum -y install python36u
#check if installed
python3.6 -V
#beware! old python is still installed, if you run "python" you get the 2 version
https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-local-programming-environment-on-centos-7
https://www.djangoproject.com/download/
sudo yum -y install python36u-pip
Wednesday, November 22, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment