The Django Installation

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

Django is a python web-open-source framework, so Django relies on Python, first to install Python.

Python installation

Website address: http://www.python.org/download/

In the installation of Python, there will be people tangled, is to install Python2 or Python3 it? In fact, it's all right, and Django supports both versions of Python.

Depending on your system (type, number of bits), select the desired version, Linux and Mac OS are pre-assembled python, but may be a lower version, you can install the new version (the same computer can be installed multiple versions of Python).

After installation, cmd input python, as shown, indicates that the installation is complete

You can see that the Python information is installed.

Djange Installation access to the Django official website: https://www.djangoproject.com/tells us two ways to install Django on the Django download page: The First: Cmd.exepip Install Django second type:cmd.exepython-m pip Install Django Note: The following line warns, this does not care, this tells you that Pip has a new version, execute the following command, Upgradeable PIP. Django installation is complete, verify that Django is installed successfully, see the import under the Django see if there is an error. OK, found that the import did not have an error stating that Django was installed successfully.

The Django Installation

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.