python pip not found code example

Example 1: pip3 not found

sudo apt-get remove python3-pip; sudo apt-get install python3-pip

Example 2: pip not found after installation

#for pip, and not pip3:
sudo apt-get install python-pip

Example 3: bash: pip: command not found

apt-get install python3-pip

Example 4: pip command not found macos

sudo easy_install pip

Example 5: pip not found

python -m ensurepip

##possibly the best way to autmatically install pip, if it is not found

Example 6: command not found: pip

apt-get install python3-pip