django error loading mysqldb module code example
Example 1: error loading mysqldb module.
sudo apt-get install libmysqlclient-dev
sudo apt-get install libssl-dev
pip install mysqlclient
#for Debian
su apt install libmysqlclient-dev
su apt install libssl-dev
pip install mysqlclient
Example 2: Error loading MySQLdb module.
pip3 install http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.0.4.zip