重新安装python后pip报错

python重新安装后,换了个目录后, pip报错,解决方法升级:


C:\Users\>pip list
Fatal error in launcher: Unable to create process using '"d:\14.0program\python371\python.exe" "D:\14.0Program\python383\Scripts\pip.exe" list'

--------------------解决方法
C:\Users\>python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB)
|████████████████████████████████| 1.5MB 46kB/s
Installing collected packages: pip
Found existing installation: pip 19.3.1
Uninstalling pip-19.3.1:
Successfully uninstalled pip-19.3.1
Successfully installed pip-20.1.1

 

C:\Users\>pip list
Package Version
--------------- --------
awscli 1.16.258
botocore 1.12.248
colorama 0.4.1
Django 2.1
dnspython 1.16.0
docutils 0.15.2
jmespath 0.9.4

posted @ 2020-05-27 16:55  helloweblogic  阅读(425)  评论(0编辑  收藏  举报