ModuleNotFoundError: No module named 'MySQLdb'
snippet in sql

ModuleNotFoundError: No module named 'MySQLdb'

user5369

sudo apt-get install libmysqlclient-dev
sudo apt-get install libssl-dev
pip install mysqlclient

No module named 'MySQLdb'

user8323

sudo apt-get install -y python3-mysqldb