pip is not defined mac 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