修改文件路径:C:\Program Files\JetBrains\PyCharm 2017.2\helpers\packaging_tool.py
添加修改的内容:
# 添加 import pip._internal as pip_new
# 修改 def do_install(pkgs): try: import pip except ImportError: error_no_pip() return pip_new.main([‘install‘] + pkgs) def do_uninstall(pkgs): try: import pip except ImportError: error_no_pip() return pip_new.main([‘uninstall‘, ‘-y‘] + pkgs)
原文:https://www.cnblogs.com/iamjianghao/p/10836223.html