install django
- Open a command prompt or terminal.
- Use the following command to install Django using pip:
bash pip install django
- Wait for pip to download and install Django and its dependencies.
- Once installation is complete, you can verify the installation by running the following command:
bash python -m django --version
- You should see the installed Django version displayed in the output, confirming that Django has been successfully installed.