解决pip install --upgrade pip 升级不成功

问题描述
        使用pip安装第三方模块的时候,提示我pip版本过低WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available. You should consider upgrading via the 'F:\python38\python.exe -m pip install --upgrade pip' command.

1,国外镜像源更新慢原因:

python -m pip install --upgrade pip -i https://pypi.douban.com/simple

2,运行后如果出现错误“no module named pip

命令行输入:

python -m ensurepip

easy_install pip

你可能感兴趣的:(python,python)