运行python使用常见报错

1、安装pip模块时出现如下报错:
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the ‘c:\users\admin\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip’ command.
运行python使用常见报错
需要升级pip版本
运行python -m pip install -U pip,成功安装。
运行python使用常见报错2、安装pip模块时出现如下报错:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Invalid requirement: “pip’”
运行python使用常见报错弃用:Python 2.7将于2020年1月1日到期。请升级您的Python,因为在该日期之后将不再维护Python 2.7。 未来的pip版本将放弃对Python 2.7的支持。
建议升级python3.X