xxxxxxxxxx
python -m pip install --upgrade pip ## work like a charm
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
## 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
xxxxxxxxxx
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py; python3 get-pip.py
xxxxxxxxxx
python -m pip install SomePackage==1.0.4 # specific version
python -m pip install "SomePackage>=1.0.4" # minimum version