Installing Python 3.4 on Centos 7
Sometimes you need to use an updated version of python on your project, in this case you need install python 3, but you already stuck with yum because there is no option to install it officially from epel-release.
And GOOD NEWS, now centos7 with the repo EPEL7 finally has python 3.4!!, yeah that really-really awesome!
So that simply for you to use it, just run some steps below will make you happy and save your day
sudo yum install epel-release sudo yum install python34
To check if you successfully installed for python 3, simply check by running code below
[aditya@pasarpanda development]$ python3.4 Python 3.4.3 (default, Jun 19 2015, 05:46:30) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> exit()
Then here is, how to install pip by using python34 that we just installed before
wget https://bootstrap.pypa.io/get-pip.py python3.4 get-pip.py
Cool, you just installed pip with python3
Test your pip by executing this command pip -V
If you need to create a new virtualenv with this python3.4, you can create a new one with -p option when you create it
$ virtualenv -p /usr/bin/python3.4 yourvirtualenvname














