本地测试没有问题,一旦上传服务器就报错。版本是 python3.4+mysql5.6+pymysql
好像没有把,你要安装下试试。
记得用pip3 install
http://blog.csdn.net/it_dream_er/article/details/52092262