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

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 "sqlalchemy ModuleNotFoundError: No module named 'MySQLdb'ModuleNotFoundError: No module named 'MySQLdb'"

Python Answers by Framework

Browse Popular Code Answers by Language