I wanted to update pip on my main install of Python, specifically to get the list command. Which also includes the list- updates capability.
So I ran:
I had the same problem running Mint 18.1 after upgrading pip. I got it resolved simply by closing and opening the terminal.