在新的環境做部署的項目中使用了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