Answers for "ModuleNotFoundError: No module named 'MySQLdb' Flask"

2

ModuleNotFoundError: No module named 'MySQLdb' in windows

You can install mysqlclient with pip

If using Python3, try this:

pip3 install mysqlclient

or in Python2

pip install mysqlclient
Posted by: Guest on July-15-2021
1

ModuleNotFoundError: No module named 'MySQLdb'

sudo apt-get install libmysqlclient-dev
sudo apt-get install libssl-dev
pip install mysqlclient
Posted by: Guest on June-18-2020

Code answers related to "ModuleNotFoundError: No module named 'MySQLdb' Flask"

Python Answers by Framework

Browse Popular Code Answers by Language