1.试过了更新pip的版本,使得pycharm和cmd pip list中的一样
2.试过了重新选择project interpreter
3.试过了把Python安装路径下的python.exe添加进project interpreter中
上述三种方法都没有成功,后来我发现直接去环境变量中,把path中的python路径上移到最上面就可以解决了,这样cmd中进行pip优先安装到Python路径文件中。
1.试过了更新pip的版本,使得pycharm和cmd pip list中的一样
2.试过了重新选择project interpreter
3.试过了把Python安装路径下的python.exe添加进project interpreter中
上述三种方法都没有成功,后来我发现直接去环境变量中,把path中的python路径上移到最上面就可以解决了,这样cmd中进行pip优先安装到Python路径文件中。