'django-admin' is not recognized as an internal or external command, operable program or batch file.

That’s a frustrating error!

The error message “‘django-admin’ is not recognized as an internal or external command, operable program or batch file” usually occurs when your system cannot find the django-admin executable.

Here are some solutions to resolve this issue:

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