Matplotlib 2.x By Example
上QQ阅读APP看书,第一时间看更新

Installing the pip Python package manager

pip is installed with Python 2>=2.7.9 or Python 3>=3.4 binaries, but you will need to upgrade pip.

For the first time, you may do so by downloading get-pip.py from http://bootstrap.pypa.io/get-pip.py.

Then run this in the terminal:

python3 get-pip.py

You can then type pip3 to run pip in the terminal.
After pip is installed, you may upgrade it by this command:

pip3 install –upgrade pip

The documentation of pip can be found at http://pip.pypa.io.