时间:2021-07-01 10:21:17 帮助过:6人阅读
使用python manage.py makemigrations
时出现报错:
from err django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?
pip install pymysql
import pymysql
pymysql.install_as_MySQLdb()
《django安装了pymysql还报MySQLdb module: No module named》
解决报错:from err django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?
标签:ons code config ldb 参考 install ror cto mamicode