question
System environment: macOS BigSur v11.2.2
After entering the following installation command in the terminal
sudo easy_install pip
The error is as follows:
reason
The Mac system comes with Python2, and you need to manually install Python3.
Solution
- Install python3 using homebrew
brew install python3
- install pip again
sudo easy_install pip
- Close Terminal, reopen Terminal, enter
pip -V
Confirm that the configuration is successful.