Mac 下用 brew install pip
命令安装 pip 时报错:
Error: No available formula with the name "pip"
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/
在 home brew 中,pip 的安装是跟 python 一起的。
换种方式:
sudo easy_install pip
Password:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 9.0.1
...
稍等片刻就 OK 了!
参考链接:http://blog.csdn.net/bitcarmanlee/article/details/51817442