xxxxxxxxxx
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python3 get-pip.py
xxxxxxxxxx
#Upgrade failed for PIP after uninstalling current version?
#PIP wasn't installed at all?
#get to ./dir/to/python/Scripts
#step 1
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#step-2
python get-pip.py
xxxxxxxxxx
# install system-wide windows (install python first)
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
py get-pip.py
# set path (example):
setx PATH "%PATH%;%appdata%\..\Local\Programs\Python\Python310\Scripts"
# OR find the path and set it:
FOR /F %g IN ('dir /b %appdata%\..\Local\Programs\Python\ ^| findstr /i Python') do (SET VAR=%g)
cd %appdata%\..\Local\Programs\Python\%VAR%\Scripts
setx PATH "%PATH%;%cd%"
xxxxxxxxxx
## To install Pip, first download get-pip.py from:
https://bootstrap.pypa.io/get-pip.py
## Then run the following command in the command line
## in the folder where the file has been saved.
python get-pip.py
xxxxxxxxxx
#Python comes with an ensurepip module, which can install pip in a Python environment.
python -m ensurepip --upgrade