pycharm安装包时报错解决
pycharm 报错:NameError: name 'pip' is not defined
创新互联建站专注于企业成都全网营销推广、网站重做改版、巩义网站定制设计、自适应品牌网站建设、html5、商城网站制作、集团公司官网建设、成都外贸网站建设公司、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为巩义等各大城市提供网站开发制作服务。
def do_install(pkgs): try: # import pip try: from pip._internal import main except Exception: from pip import main except ImportError: error_no_pip() return main(['install'] + pkgs) def do_uninstall(pkgs): try: # import pip try: from pip._internal import main except Exception: from pip import main except ImportError: error_no_pip() return main(['uninstall', '-y'] + pkgs)
报错解决参考:
https://www.cnblogs.com/Fordestiny/p/8901100.html
https://segmentfault.com/q/1010000014743128
文章题目:pycharm安装包时报错解决
网页URL:http://myzitong.com/article/pphces.html