No. 400, Django+xadmin build a standard online education platform-production environment Deployment CentOS6.5 installation python3.5.1
1. Check if Python is installed on the system
[[Email protected] ~] # rpm-qa pythonpython-2.6.6-51el6.x86_64[[email protected]192 ~]#
You can see that the CentOS6.5 system is installed by default python2.6.6
2. Check where Python is installed
[[Email protected] ~] # whereis pythonpython:/usr/bin/python/usr/bin/python2.6/usr/lib/python2.6/usr/lib64/python2.6/usr/ Include/python2.6/usr/share/man/man1/python.1. Gz[[email protected]192 ~]#
Can see the python boot file in/usr/bin/python2.6, there is a fast soft connection in/usr/bin/python, then we have to specify a different directory installation, prevent the default installation to 2.6.6 path conflict,2.6.6 can not be uninstalled, Because the system's Yum command is dependent on the Python2.6.6
3. Installing dependent libraries and compilers
# Yum Install gcc-y # Yum Install Openssl-devel
PIP cannot be installed during installation if Openssl-devel is not installed
4. Download the corresponding version of Python and unzip
wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1. tgz -xvf Python-3.5.1.tar decompression Pyth On
No. 400, Django+xadmin build a standard online education platform-production environment Deployment CentOS6.5 installation python3.5.1