ModuleNotFoundError: No module named 'MySQLdb'

后端 未结 5 463
眼角桃花
眼角桃花 2020-12-10 05:23

After finishing of one of my Flask projects, I uploaded it on github just like everybody else. after a 2-3 months period I downloaded the entire githube repository on anothe

5条回答
  •  粉色の甜心
    2020-12-10 06:22

    You can install mysqlclient with pip

    If using Python3, try this:

    pip3 install mysqlclient

    or in Python2

    pip install mysqlclient

提交回复
热议问题