step1:preparation
$ yum install yum-utils make wget gcc
$yum-builddep python
step2:download
$ wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
step3:make and install
$ tar xzf Python-3.4.3.tgz
$ cd Python-3.4.3
$ ./configure --prefix=/usr/local/
$ make
$ make altinstall //此选项为替换server的python,可以自由选择
$ make install