您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

后台创建管理员 createsuperuser 时 报django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?

bubuko 2022/1/25 20:07:18 mysql 字数 911 阅读 1042 来源 http://www.bubuko.com/infolist-5-1.html

pip install pymysql 结果版本0.9.3 django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 需要pip指定版本号安装 结果清华源 ...

结果版本0.9.3

django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.

需要pip指定版本号安装

结果清华源没有这个版本,换阿里云

pip install -i https://mirrors.aliyun.com/pypi/simple/ pymysql==1.3.13

阿里也没有,只能国外了

 

 

pip install jupyter -i http://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

 

后台创建管理员 createsuperuser 时 报django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?

原文:https://www.cnblogs.com/spidernyp/p/12442163.html


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶