install django debian
# install python3 and pip sudo apt-get install python3 python3-pip # Check if both python and pip were properly installed python3 -v pip3 -v # Install Django using pip pip3 install Django # Check if Django installed properly django-admin --version python3 -m django --version # alternative method to the line above
Here is what the above code is Doing:
1. Installing python3 and pip3
2. Checking if python3 and pip3 were installed properly
3. Installing Django using pip3
4. Checking if Django was installed properly