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 ‘E:\python\Program\Scripts\python.exe’.
1、首先是这个问题是因为pip版本不同的问题引起的,从File的Setting中按这几个步骤安装最新的pip,先确定了一下pycharm的最新的pip版本是21.2.4,先把这个更新到最新,然后再解决python的pip版本问题。 然后在pycharm中的Terminal中就可以查看和更新pip的版本,输入 pip list 得到python的pip版本是21.2.3,确实版本不一致。