Installation pip
mac is the default installation of python2.7
python -V
We can see the already installed version 2.7, but not installed pip
sudo easy_install pip
To install pip
Installation python3. *
Official website to download https://www.python.org/downloads/mac-osx/
direct download according to your needs the appropriate version, double-click the installation can be downloaded directly after your mac that there is python2 while the installation is complete, python3
python3 -V # 查看python3版本,不需要再次安装pip3(默认安装)