解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决

今天在PyCharm中import sklearn包的时候,出现以下问题:
You are using pip version 18.1, however version 20.2b1 is available. You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决
原因是我没有更新
1.解决方法:
在命令窗口运行python -m pip install --upgrade pip ,如果不可以,尝试以管理员身份运行。
即可成功:
解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决
2.(补充)如果还是不可以,选择清华大学的镜像地址:https://pypi.tuna.tsinghua.edu.cn/simple/
具体步骤如下:
File->Settings->project->Project Interpreter
点击解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决
点击
解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决
点击
解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决
输入上面的镜像地址
解决在pycharm中安装第三方包时遇到的You are using pip version 18.1, however version 20.2b1 is available.问题解决
完成!!!