Pycharm安装第三方库时报错:Make sure that you use the correct version of 'pip' installed for your Python in...

Pycharm安装第三方库时报错:

Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'D:\PycharmProjects\alien_invasion\venv\Scripts\python.exe'.

原因:
pycharm里安装的pip与电脑中按照的pip版本不一致

1、查看pycharm中安装的pip版本:

setting->project-project Interprete->查看pip的版本为19.1


QQ图片20200515213704.png

2、开始->运行->cmd->pip list查看当前电脑中安装的pip版本为19.2.3

QQ图片20200515213651.png

解决方法:pycharm里安装的pip与电脑中按照的pip版本一致

修改pycharm里pip的版本为19.2.3

setting->project-project Interpreter->点击pip->右侧找到pip的版本选19.2.3,安装完成。

安装完成后再次安装第三方插件即可以正常安装。

QQ图片20200515213657.png

你可能感兴趣的:(Pycharm安装第三方库时报错:Make sure that you use the correct version of 'pip' installed for your Python in...)