在新的环境做部署的项目中使用了peewee,运行后报错
peewee.ImproperlyConfigured: MySQL driver not installed!
peewee自己竟然不去安装驱动,那就自己安装
解决
pip install pymysql
参考: https://github.com/coleifer/peewee/issues/1569
在新的环境做部署的项目中使用了peewee,运行后报错
peewee.ImproperlyConfigured: MySQL driver not installed!
peewee自己竟然不去安装驱动,那就自己安装
解决
pip install pymysql
参考: https://github.com/coleifer/peewee/issues/1569
微信扫码登录