修改文件路径:C:Program FilesJetBrainsPyCharm 2017.2helperspackaging_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)