No. 400, Django+xadmin build a standard online education platform-production environment Deployment CentOS6.5 installation python3.5.1

Source: Internet
Author: User
Tags install openssl

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.