Django dependent basis python installation environment:
https://www.runoob.com/django/django-install.html
Django installation refer to the official website of the document:
https://docs.djangoproject.com/en/3.0/topics/install/#installing-official-release
Bypip
installing the official version
This is the recommended way to install Django.
-
Installation PIP . The easiest way is to use a stand-alone installer pip . If your distribution already
pip
installed, if out of date, you may need to update it. If outdated, you know, because the installation will fail. -
Look virtualenv and virtualenvwrapper . These tools provide an isolated Python environment, more practical than installing packages, system-wide. They also allow the installation package without administrator privileges. The contribution tutorial gone virtualenv how to create.
-
After you create and activate a virtual environment, enter the following command:
$ python -m pip install Django