AttributeError: Module Pip has no attribute 'main'

后端 未结 16 1409
滥情空心
滥情空心 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:06

    If python -m pip install --upgrade pip==9.0.3 doesn't work, and you're using Windows,

    1. Navigate to this directory and move the pip folders elsewhere.

    1. Close your IDE if you have it open.

    2. Press 'Repair' on Python 3.

    1. Your IDE should cease to detect pip packages and prompt you to install them. Install and keep the last stable pip version by blocking automatic updates.

提交回复
热议问题