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

后端 未结 6 462
轻奢々
轻奢々 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条回答
  •  青春惊慌失措
    2020-12-07 18:04

    Try this

    Check the python version you use

    # Python --version
    

    and try installing for eg if your version is 2.7

    #python2.7  
    

    Will work fine......

提交回复
热议问题