Build a Django development environment on Windows

Source: Internet
Author: User
Tags install django pip install django

Reference from: https://docs.djangoproject.com/en/dev/howto/windows/

Environment: Windows 8.1

Steps:

  1. Install Python

    Install on http://python.org/download/Download windows version

    Add the following path to the environment variable path:

    C:\Python34\; C:\Python34\Scripts;
  2. Install Development IDE Eclipse

    : http://www.eclipse.org/downloads/

  3. Install the Eclipse plugin Pydev

    start eclipse, Help->install New software->add

    In the popup dialog, name fills Pydev, location http://pydev.org/updates/

    Click Next and install

  4. Configure Pydev

    eclipse->window->preferences->pydev->interpreters->python Interpreter

    new a Python interpreter, in the popup dialog box, interpreter name python2.7, interpreter executable fill D:\Python27

  5. Installing Setuptools

    Under Windows 8, run the following command to install through PowerShell:

    (Invoke-webrequest https://bootstrap.pypa.io/ez_setup.py). Content | Python-

    Windows 7 and the following installation methods reference Https://pypi.python.org/pypi/setuptools#windows-7-or-graphical-install

  6. Install PIP

    Run the following command under CMD

    Easy_install pip
  7. Installing Django

    Pip Install Django
  8. Setup is now ready to be developed with Eclipse new Django Project!

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.