1.环境配置:
(1)Install Setuptools¶
To install Python packages on your computer, Setuptools is needed. Download the latest version of Setuptools for your Python version and follow the installation instructions given there.
(2)install pip
Open a command prompt and execute easy_install pip. This will install pip on your system. This command will work if you have successfully installed Setuptools.
(3)install django
In the command prompt, execute the following command: pip install django.
This will download and install Django.