使用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》
原文:https://www.cnblogs.com/my_captain/p/13192502.html