sudo yum groupinstall -y development
or sudo yum groupinstall -y 'development tools'
sudo yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel
[yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel]
[wget https://bootstrap.pypa.io/get-pip.py]
[python get-pip.py]
sudo wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
sudo wget http://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
sudo yum install xz-libs
xz -d Python-2.7.6.tar.xz
tar -xvf Python-2.7.6.tar
xz -d Python-3.4.3.tar.xz
tar -xvf Python-3.4.3.tar
cd Python-2.7.6
./configure --prefix=/usr/local
cd ../Python-3.4.3 
./configure --enable-shared
cd Python-2.7.6
make
sudo make altinstall
cd ../Python-3.4.3
make && sudo make altinstall
export PATH="/usr/local/bin:$PATH"
sudo yum install python3-setuptools python3-pip python3-dev build-essential
yum install python-setuptools
yum -y install python-pip
sudo pip install --upgrade virtualenv
virtualenv --no-site-packages alamadi-alameen -p python3.4