python -m venv venv
source venv/bin/activate
Install libraries using pip install <library>
Install Libraries from a file - pip install -r requirements.txt
After you install libraries using pip, save them to the requirements.txt file using
pip freeze > requirements.txt
django-admin startproject <project_name>
If you want the project to be in the same directory, use django-admin startproject <project_name> .
python manage.py startapp <app_name>
python manage.py runserver