command “django-admin.py startproject mysite” not recognized

Working !!
If you are using window then first of all

create virtual environment

python -m venv venv

Then activate that environment

venv\Scripts\activate

Then install Django in that environment

pip install django

Then create django project named mysite

django-admin startproject mysite

Leave a Comment