Windows under
I. Python download installation configuration environment variables
1. python:https://www.python.org/downloads/
2. Install Python all you need to do is download the Python-x.x.x.msi file and click on the "Next" button
3. After the installation is complete, you need to set the Python environment variable. Right-click Computer, properties, advanced environment variable, modify the system variable path, add the Python installation address, this example uses the D:\python, need to install the configuration environment variables according to their actual situation
4. To check if Python is installed successfully, simply open a command prompt to enter Python as shown in:
Two. Django Download installation configuration environment variables
1.django:https://www.djangoproject.com/download/
2. Download the Django package, unzip and place it in the same root directory as the Python installation directory, go to the Django directory, execute the python setup.py install, and start the installation, Django is going to be installed in Python's Lib Site-packages
3. Then configure the environment variables to add these directories to the system environment variable: d:\python\lib\site-packages\django;d:\python\scripts Once added, you can use the Django django-admin.py command to create a new project.
4. Check that the Django installation is successful and enter the following command to check:
Interface Automation Test Python (1) _ Environment Setup Configuration