Install Python under Windows, install the framework Django.

Source: Internet
Author: User

First step: Download the Python installation package first:

Step Two: Install

Double-click the installation package to install the program.

Install here to the C-drive folder named Python33.

Installing .......

Installation Complete

In order to next use the Python command under DOS, configure the environment variable here. Right-click Computer, properties, advanced environment variable, modify the system variable path, add the Python installation address, the author here is C:\Python33;

Test installation:

To install Django:

Download Django

In the download Djando unzip and copy to Python33, then open the command prompt.

First we use the CD command to enter into the Python33 folder, and then use Dir to view the unpacked package that we just copied to Python django-1.8.4.

Then enter the CD into the django-1.8.4, you can see there is a setup.py this is we can enter the command Python setup.py install, perform the installation.

Then, configure the environment variables to add these directories to the system environment variables:

C:/python33/lib/site-packages/django; C:/python33/scripts.

Once added, you can use the Django django-admin.py command to create a new project.

To check if the installation is successful, you can view the Django version under DOS into the Django-1.6.2 directory.

1. Enter Python

2. Enter the import Django

3. Enter Django.get_version ()

Install Python under Windows, install the framework Django.

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.