If you meant "pip" specifically:
Homebrew provides pip via: `brew install python`. However you will then
have two Pythons installed on your Mac, so alternatively you can install
pip via the instructions at:
https://pip.readthedocs.io/en/stable/installing/
下载好 get-pip.py之后,要sudo
sudo python get-pip.py
然后
sudo pip install pandas
安装成功后,安装sklearn
sudo pip install scikit-learn
安装成功了。