更新pip之后,Pycharm安装package出现如下报错:module 'pip' has no attribute 'main'
找到安装目录下 helpers/packaging_tool.py文件,找到如下代码:
修改为
保存之后就可以了,这下就可以愉快的安装了