首页 > 数据库技术 > 详细

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

时间:2020-03-08 14:19:32      阅读:67      评论:0      收藏:0      [点我收藏+]

结果版本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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!