Usually encounter some problems installing the module, where the record.
1、No module named 'MySQLdb'
Problems in Python3.x version, this should be MySQLdb 2.x version, version 3.x corresponding P have MySQL, but has been installed.
Then only you need to install a module "mysqlclient" on it.