Pycharm安装package出现报错

Pycharm安装package出现 AttributeError: module 'pip' has no attribute 'main'.

解决方法:

找到安装目录下 helpers/packaging_tool.py文件,找到如下代码:


修改如下即可:


猜你喜欢

转载自blog.csdn.net/caoyu1221/article/details/80570217