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
download pip
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
#install pip
sudo python2.7 get-pip.py
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