How to fix error Error loading MySQLdb module
I encountered this error while running Django command
python manage.py migrate
Error loading MySQLdb module
Check out the version of python that you are using. If you are using python2, then install following libraries...
yum install python-devel mysql-devel pip install mysqlclient
If you are using python3, check which version of python3 you are using.
For python3.4 do following...
yum install python34-devel mysql-devel pip install mysqlclient
For python3.6 do following...
yum install python36-devel mysql-devel