python3执行pip提示找不到

安装 报错

Command "/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-5ftonpn9/frida/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-18vnmrno/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-5ftonpn9/frida/
You are using pip version 19.0.3, however version 20.2b1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

执行

pip install --upgrade pip 

报错 -bash: pip: command not found
安装pip

curl https://bootstrap.pypa.io/get-pip.py | python

安装和更新

pip install --upgrade pip 

查看版本

pip --version