What code do I need to upgrade my "pip version"...please see output below

Here is what I got when I ran the "backtrader pip install":

Collecting backtrader==1.9.68.122
Downloading https://files.pythonhosted.org/packages/f5/6f/e51e5b5969ad1e80718f84399944d359bbc63ca6c7003595db4cd08eaa48/backtrader-1.9.68.122-py2.py3-none-any.whl (410kB)
Installing collected packages: backtrader
Found existing installation: backtrader 1.9.74.123
Uninstalling backtrader-1.9.74.123:
Successfully uninstalled backtrader-1.9.74.123
Successfully installed backtrader-1.9.68.122

 
distributed 1.21.8 requires msgpack, which is not installed.
You are using pip version 10.0.1, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Thank you for your help!

Sincerely,

Troy Lundquist

Hi Troy,



You could just run the command which is given in the message as below and pip will upgrade.

 

$pip install --upgrade pip

Collecting pip

  Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)

     |████████████████████████████████| 1.4MB 672kB/s 

Installing collected packages: pip

  Found existing installation: pip 19.2.1

    Uninstalling pip-19.2.1:

      Successfully uninstalled pip-19.2.1

Successfully installed pip-19.3.1