WARNING: You are using pip version 19.2.3, however version 22.1 is available.You should consider解决办法

问题:

1.WARNING: You are using pip version 19.2.3, however version 22.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

2.ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\program files\\python38\\lib\\site-packages\\pip-19.2.3.dist-info\\entry_points.txt'
Consider using the `--user` option or check the permissions.

解决:
​​​​WARNING: You are using pip version 19.2.3, however version 22.1 is available.You should consider解决办法_第1张图片
1.用管理员身份运行cmd(不是管理员 后面输代码还是报错
2.输入python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple python.exe -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
3.pip list 查看
结果:WARNING: You are using pip version 19.2.3, however version 22.1 is available.You should consider解决办法_第2张图片

你可能感兴趣的:(python)