Django Install

The Python package manager, to fetch and install the Django framework and its dependencies from the Python Package Index (PyPI). This process enables developers to set up Django quickly and easily, facilitating the creation of web applications in Python.

Install Django

  • Now that you have created a virtual environment, you can install Django.
  • Remember to install Django in a virtual environment.
  • Install Django using the command given below.

pip install django
(myenv) D:\my_projects>pip install django
Collecting django
  Using cached Django-4.2.13-py3-none-any.whl (8.0 MB)
Collecting sqlparse>=0.3.1
  Using cached sqlparse-0.5.0-py3-none-any.whl (43 kB)
Collecting tzdata; sys_platform == "win32"
  Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB)
Collecting asgiref<4,>=3.6.0
  Using cached asgiref-3.8.1-py3-none-any.whl (23 kB)
Collecting typing-extensions>=4; python_version < "3.11"
  Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Installing collected packages: sqlparse, tzdata, typing-extensions, asgiref, django
Successfully installed asgiref-3.8.1 django-4.2.13 sqlparse-0.5.0 
typing-extensions-4.12.2 tzdata-2024.1
WARNING: You are using pip version 20.2.3; however, version 24.0 is available.

Check Django Version

(myenv) D:\my_projects>django-admin --version

Prev Next