Installing Django under Windows and Linux

Source: Internet
Author: User
Tags install django

One, install Django under Windows:

1. Download Django.

The official website address is: https://www.djangoproject.com/download/

650) this.width=650; "title=" Qq20170904094016.png "src=" https://s1.51cto.com/wyfs02/M00/A4/7D/ Wkiol1mst1jcubhxaagriyyoogc187.png-wh_500x0-wm_3-wmp_4-s_296038848.png "alt=" Wkiol1mst1jcubhxaagriyyoogc187.png-wh_50 "/>

Click the Red Flag section to download.

Unzip when the download is complete.

2. Install Django and Make sure Python is installed on your machine before installing.

Enter CMD. In cmd, go to the Django folder. Enter python setup.py Install to wait patiently for installation.

3. Check Django:

Enter Python, enter

Import Django

Django. VERSION

Can see

650) this.width=650; "title=" 20170904100826.png "src=" https://s4.51cto.com/wyfs02/M01/05/CC/ Wkiom1mst4fjmuwjaaapk5jcjns788.png-wh_500x0-wm_3-wmp_4-s_664262120.png "alt=" Wkiom1mst4fjmuwjaaapk5jcjns788.png-wh_50 "/>

Second, install Django under Linux:

Yum installation .

1, installation Setuptools

Command:

Yum Install Setuptools

2. After installation, you can install Django

Easy_install Django

3. Check Django

650) this.width=650; "title=" 20170904101353.png "src=" https://s3.51cto.com/wyfs02/M02/05/CC/ Wkiom1mst5ecufw6aaahnz4bj2m187.png-wh_500x0-wm_3-wmp_4-s_3677856636.png "alt=" Wkiom1mst5ecufw6aaahnz4bj2m187.png-wh_50 "/>

This article is from the "13233707" blog, please be sure to keep this source http://13243707.blog.51cto.com/13233707/1962437

Installing Django under Windows and Linux

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.