AttributeError: Module Pip has no attribute 'main'

后端 未结 16 1400
滥情空心
滥情空心 2020-11-29 00:53

I am trying to build the python api for an open source project called Zulip and I keep running into the same issue as indicated by the screenshot below.

I am running

16条回答
  •  既然无缘
    2020-11-29 01:21

    Edit file: C:\Users\kpate\hw6\python-zulip-api\zulip_bots\setup.py in line 108

    to

    rcode = pip.main(['install', '-r', req_path, '--quiet'])
    

    do

    rcode = getattr(pip, '_main', pip.main)(['install', '-r', req_path, '--quiet'])´
    

提交回复
热议问题