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