You are using pip version 19.1.1, however version 19.2.3 is available.

python -m pip install --upgrade pip执行总是不成功
加了源也不成功python -m pip install --upgrade pip -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

错误

Installing collected packages: pip
  Found existing installation: pip 19.1.1
    Uninstalling pip-19.1.1:
      Successfully uninstalled pip-19.1.1
  Rolling back uninstall of pip
  Moving to c:\users\msi-pc\appdata\roaming\python\python37\scripts\pip.exe
   from C:\Users\MSI-PC\AppData\Local\Temp\pip-uninstall-0okgd6cq\pip.exe
  Moving to c:\users\msi-pc\appdata\roaming\python\python37\scripts\pip3.7.exe
   from C:\Users\MSI-PC\AppData\Local\Temp\pip-uninstall-0okgd6cq\pip3.7.exe
  Moving to c:\users\msi-pc\appdata\roaming\python\python37\scripts\pip3.exe
   from C:\Users\MSI-PC\AppData\Local\Temp\pip-uninstall-0okgd6cq\pip3.exe
  Moving to c:\users\msi-pc\appdata\roaming\python\python37\site-packages\pip-19.1.1.dist-info\
   from c:\users\msi-pc\appdata\roaming\python\python37\site-packages\~ip-19.1.1.dist-info
  Moving to c:\users\msi-pc\appdata\roaming\python\python37\site-packages\pip\
   from c:\users\msi-pc\appdata\roaming\python\python37\site-packages\~ip
ERROR: Exception:

解决办法:只要在“python -m pip install --upgrade pip“后加上--user,这个问题就能解决,即“python -m pip install --upgrade pip --user”

转自:https://www.jianshu.com/p/5df9e400c8fe

你可能感兴趣的:(You are using pip version 19.1.1, however version 19.2.3 is available.)