问题:
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.
解决:
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
查看
结果: