ImportError: No module name MySQLdb

原因:没有安装python连接mysql的包

 

解决办法:

sudo apt-get install python-mysqldb