1 compilation tools installed
yum install zlib-devel bzip2-devel openssl-devel python-devel kernel-devel libffi-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
2 official website to download and install
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.xz
Extracting tar -xvJf Python-3.5.0.tar.xz
cd Python-3.5.0 ./configure prefix=/usr/local/python3 make && make install
3 Install PIP3
1) first install setuptools
little friends can be downloaded through the official module repository: https: //pypi.python.org/pypi
here I'll just use wget to download the server version 19.6
wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26 tar -zxvf setuptools-19.6.tar.gz cd setuptools-19.6 /usr/local/python3/bin/python3 setup.py build /usr/local/python3/bin/python3 setup.py install
2) then installed directly pip to get. .
Also to download and then get in the execution command! !
wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb tar -zxvf pip-8.0.2.tar.gz cd pip-8.0.2 /usr/local/python3/bin/python3 setup.py build /usr/local/python3/bin/python3 setup.py install pip3 install --upgrade
3 with the mounting module pip
/usr/local/python3/bin/pip3 install Django==2.1.1