pip2 command not found code example
Example 1: pip3 not found
sudo apt-get remove python3-pip; sudo apt-get install python3-pip
Example 2: pip command not found macos
sudo easy_install pip
Example 3: pip not found
python -m ensurepip
##possibly the best way to autmatically install pip, if it is not found