Error reporting:
zsh: command not found: pip3
zsh: command not found: pip
Reason: it seems that this problem occurred after my PIP update failed
Solution:
Official website solution
Execute at the terminal first:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Get the get pip. Py
file in the current directory
Then execute in the current directory:
sudo python3 get-pip.py
Then pip is installed successfully