By default Centos 7 comes with Python 2.7.5. In this tutorial you will learn how to install Python3 and Pip.
For this tutorial I’m using a DigitalOcean cloud server, because it takes only 5 minutes to set up and then I can shut it down anytime and not spend money after I finish writing the tutorial. So, first things first, we are going to connect to the DigitalOcean server using Putty, the root and the root password they provided after you created the droplet.
Assuming you are logged in with the root user, here are the commands (if you are not using the root user, just add sudo before the commands):
# yum install epel-release (this will enable EPEL repository on your system)
# yum install python34
At this point you should have Python3 installed. We should take care of Pip now:
# yum install python34-setuptools
# easy_install-3.4 pip