django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module in mac code example
Example 1: jango.core.exceptions.ImproperlyConfigured: 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: mac django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?
pip install pymysql