Installing Django may put some useful “scripts” (programs that you can run at the command line) in the scripts
sub-directory of your Python installation. However, if you are using the Python launcher (with py
), generally this is because that folder isn’t listed in your PATH environment variable - so you can’t just run those scripts by name. The same folder is where Pip lives - it’s exactly as the warning says.
The Windows installer does not add these paths to PATH by default, for very carefully considered reasons. See previous discussion:
And some other resources:
https://www.reddit.com/r/Python/comments/2vuhiw
If you don’t want to add the scripts folder to PATH, you can run the programs by specifying their path (either relative or absolute) at the command line - for example:
C:\Users\donca> appdata\local\programs\python\python312\Scripts\django-admin startproject my_tennis_club