Last active
August 8, 2024 14:44
-
-
Save Adornadowilliam2/d817534c2ccd8fecc3687bacd53f2ae7 to your computer and use it in GitHub Desktop.
How to install django in command prompt or cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#first to able know if the python is install type in command prompt or cmd | |
python --version | |
#then allso check is the pip has been instsall as it must be install once you downloaded the python but incase there is not | |
pip --version | |
#after that you need to create a folder for the django using command prompt, becuase why not go to back filde manager to create folder | |
mkdir django | |
#then to be able go to that folder use: | |
cd django | |
#afterthat you can now do this command one by one to be able install the django (Just copy paste it into your command prompt). | |
python -m venv my_venv | |
pip install django | |
#then once this message "Successfully installed asgiref-3.8.1 django-5.0.6 sqlparse-0.5.0 tzdata-2024.1", ypou now type this code | |
django-admin version | |
#and to able create a project use this command | |
django-admin startproject my_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment