File “/usr/bin/pip”, line 9, in from pip import main ImportError: cannot import name main

后端 未结 6 455
轻奢々
轻奢々 2020-12-07 17:58

I am trying to run a webpage using python flask and connecting it with the database of MySQL and while installing MySQL packages I\'m receiving this error.

6条回答
  •  Happy的楠姐
    2020-12-07 18:07

    I have faced the similar issue after pip 19 upgrade. So I did the following to fix the problem.

    pip install --upgrade pip==9.0.3

    instead of

    pip install -U pip

提交回复
热议问题