sudo: pip: command not found code example
Example 1: bash: pip: command not found
apt-get install python3-pip
Example 2: pip command not found macos
sudo easy_install pip
Example 3: sudo: apt: command not found
If apt is not found so Linux is CentOS which is RedHat-based
RedHat installs use yum not apt-get