Windows installation Diango Framework < a >

Source: Internet
Author: User

Environment: Windows

Python Download: https://www.python.org/downloads/windows/

The download page has many versions to choose from, the version also distinguishes the web-based/executable/embeddable zip file type, the difference is as follows:

Effect:

    • web-based: Network-based

    • Executable: Executable

    • embeddable Zip File:zip Compressed Package

Install Device:

    • So web-based file size is very small, it is after the installation to download Python and installation on the network

    • Executable will download the full Python to be installed.

    • ZIP file packaged as a zip Python

When installing, remember to tick add environment variable, install Tutorial: https://jingyan.baidu.com/article/25648fc19f61829191fd00d4.html (although many of the installation tutorials are directly next, But some need to check or carefully look, encountered the need to tick, need to choose, Baidu more than a few tutorials. ), import sys, print (sys.path) If you do not remember to tick the environment variable. Look at the path, add the environment variable yourself, add two paths to the path, for example my diagram is as follows:

Diango Download: https://www.djangoproject.com/download/

Download the Django package, unzip it and place it in the same root directory as the Python installation directory.

Administrator to open the command line, enter the command python setup.py install, installing Django.

After the installation is successful, go to the Python installation directory to find the Diango folder, such as my C:\Program files\python37\lib\site-packages\django-2.1b1-py3.7.egg\ Django, add the path to the environment variable.

See if the installation was successful, import Django, Django.get_version ()

The process may vary slightly depending on the version, such as the Django folder directly under Site_pakages. It may also be possible to install Python errors due to system Win7, but you can follow the prompts to resolve the problem step-by-step.

Windows installation Diango Framework < a >

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.