'Django-admin is is not recognized

I've been trying to start a Django project and when I try to create a new project, it gives me an error

django-admin startproject example

The term 'django-admin' is not recognized as the name of a cmdlet, function, script file, or operable program.

I've added Python to environmental variable and of course installed Django package and tried all the other options on googling, nothing worked. Is there something I'm missing? Im on Win 10

Solved it after uninstalling Python + django separately, then reinstalling.



Solution 1:[1]

First check the django version with:

python -m django --version

If it's installed and you have a recent version, I suggest uninstalling and installing again, there might have been some mistakes with some package. It's weird...

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sergi