sudo yum install epel-release
sudo yum update
sudo apt-get install build-essential
sudo yum groupinstall 'Development Tools'
Source: http://unix.stackexchange.com/questions/16422/cant-install-build-essential-on-centos
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.4