Windows platform installs Django
First, pre-preparation
You need to install Python on the Windows platform before you install Django. The Windows platform Python is already installed and has the following version:
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/A4/F6/wKioL1m1Qv3jYLePAAATXC1ll30894.png "title=" 112211.png "alt=" Wkiol1m1qv3jylepaaatxc1ll30894.png "/>
II. Medium-term preparation
1. Download Django
Download Django URL: https://www.djangoproject.com/download, go in and choose the latest version to download. The latest version at this time is: django-1.11.5.tar.gz
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/A4/F6/wKioL1m1RGWiYUa1AAGIN08h8Jo625.png "title=" 112212.png "alt=" Wkiol1m1rgwiyua1aagin08h8jo625.png "/>
2. Unzip to the appropriate directory
After downloading the appropriate Django version, copy the compressed package to the Python installation directory and unzip it to the Python installation directory.
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/A4/F6/wKioL1m1RUnRO1NcAAC_BfopGWo086.png "title=" 112213.png "alt=" Wkiol1m1runro1ncaac_bfopgwo086.png "/>
Third, post-installation
1. Switch directories to the Python installation directory first
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/A4/F6/wKioL1m1Tf7zD38cAAAJOI30GkE141.png "title=" 313. PNG "alt=" Wkiol1m1tf7zd38caaajoi30gke141.png "/>
2. Start installing Django
There is a Python-written installation script under the Django directory setup.py
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/A4/F6/wKioL1m1Tq7yn8sNAADKinrsytA664.png "title=" 312. PNG "alt=" Wkiol1m1tq7yn8snaadkinrsyta664.png "/>
Then execute the command python setup.py install in cmd and start installing Django. The interface at the end of the installation is as follows
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/06/46/wKiom1m1T1Kzm46GAAAaHHQXyaE784.png "title=" 311. PNG "alt=" Wkiom1m1t1kzm46gaaaahhqxyae784.png "/>
Iv. Testing
Open python in Cmd, invoke Django, test
Prthon
>>> Import Django
>>> django.get_version ()
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/06/46/wKiom1m1T_WDJh8QAAATdn1RyqA242.png "title=" 310. PNG "alt=" Wkiom1m1t_wdjh8qaaatdn1ryqa242.png "/>
The test was successful and the installation was successful!
This article from "Doublelinux" blog, declined reprint!
Windows platform installs Django