1# install django (basic, if path is not set yet)
2py -m pip install django
3# or set PATH to use pip:
4setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts"
5pip install django
6# if "connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed" [!]:
7py -m pip install --trusted-host pypi.python.org pip django
8# if PermissionError: [WinError 5] Access is denied
9py -m pip install --user django
10# or via creating a virtual environment venv:
11py -m venv c:\path\to\new\environment
12# then execute:
13c:\path\to\new\environment\Scripts\activate.bat