How to Install Django ?

Ujjwal Thakur

I am a FullStack Engineer, having 6+ years of experience, mostly worked in React.JS, TypeScript, JavaScript, JQuery, Laravel (PHP), MVC Arcticture, MySqli, Redis, REST APIs etc..

Having good knowledge of JIRA, AWS Cognito, S3 Bucket, EC2 Instances, Elastic IP, Bitbucket, Git, CICD Pipelines, Linux etc..

Latest Posts


  1. Install Python: Django is a Python web framework, so you need to have Python installed on your system before you can install Django. You can download and install the latest version of Python from the official Python website.
  2. Create a virtual environment: It’s a good practice to create a virtual environment before installing any Python packages. This will isolate your project dependencies and avoid conflicts with other Python projects on your system. To create a virtual environment, run the following command in your terminal:
bashCopy codepython -m venv env

This will create a new virtual environment named “env” in your current directory.

  1. Activate the virtual environment: To activate the virtual environment, run the following command:
bashCopy codesource env/bin/activate

This will activate the virtual environment and you should see the virtual environment name “(env)” in your terminal prompt.

  1. Install Django: Once your virtual environment is activated, you can install Django using pip, the Python package manager. Run the following command:
Copy codepip install django

This will download and install the latest version of Django in your virtual environment.

  1. Verify the installation: After installing Django, you can verify the installation by running the following command:
cssCopy codepython -m django --version

This will display the installed version of Django in your terminal.

Congratulations! You have successfully installed Django on your system. Now you can start building your Django project by creating a new project using the django-admin startproject command.

Install Django Latest Version form here..

Leave a Reply

Your email address will not be published. Required fields are marked *