Download python and install it from here.
https://www.python.org/
C:\Users\user>py -m ensurepip --upgrade
Defaulting to user installation because normal site-packages is not writeable
Looking in links: c:\Users\Dani\AppData\Local\Temp\tmpcbaxu26c
Requirement already satisfied: pip in c:\users\dani\appdata\roaming\python\python313\site-packages (24.3.1)
If doesn't work, download the script
C:\Users\Dani>curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2222k 100 2222k 0 0 4207k 0 --:--:-- --:--:-- --:--:-- 4241k
And run the script
C:\Users\user>py get-pip.py
Defaulting to user installation because normal site-packages is not writeable
Collecting pip
Using cached pip-24.3.1-py3-none-any.whl.metadata (3.7 kB)
Using cached pip-24.3.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.3.1
Uninstalling pip-24.3.1:
Successfully uninstalled pip-24.3.1
WARNING: The scripts pip.exe, pip3.13.exe and pip3.exe are installed in
'C:\Users\user\AppData\Roaming\Python\Python313\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-24.3.1
Add the enviroment variable to path section with the yellow path marked:
C:\Users\user\AppData\Roaming\Python\Python313\Scripts
https://pip.pypa.io/en/stable/installation/