mac-brew 安装pip3

网上文章上都说用brew 安装python3 会自带pip3 的安装 
但是不知什么原因 我使用brew 安装按成python3 后并没有pip3

需要手工安装

参考文档: 
http://blog.csdn.net/minixuezhen/article/details/72887712

1. 下载:

$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

2. 然后通过已经安装的python3执行这个文件: 

$python3 ./get_pip.py

3. 之后创建软连接 到usr/local/bin 

ln -s /usr/local/Cellar/python3/3.6.0_1/Frameworks/Python.framework/Versions/3.6/bin/pip3 /usr/local/bin/

 

你可能感兴趣的:(mac,python)