当前位置:网站首页>Django::Did you install mysqlclient?
Django::Did you install mysqlclient?
2022-04-23 06:05:00 【贾岚翔】
问题描述:Django提示没有mysqlclient如下:
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?
C:\Users\Crscd3799\PycharmProjects\Django\ktzy\__init__.py changed, reloading.
Watching for file changes with StatReloader
Performing system checks...
解决方案:安装pymysql,并在_init_.py中添加如下代码:
import pymysql
pymysql.install_as_MySQLdb()
版权声明
本文为[贾岚翔]所创,转载请带上原文链接,感谢
https://jialanxiang.blog.csdn.net/article/details/121870398
边栏推荐
- Ali vector library Icon tutorial (online, download)
- Prometheus的relabel_configs和metric_relabel_configs解释及用法示例
- Memcached source code analysis
- Using Prom label proxy to implement label based multi tenant reading of Prometheus thanos
- 搭建基于OSS的图片分享网站-反馈有礼
- [Lombok quick start]
- Apache Atlas 编译及安装记录
- Thanos Compactor组件使用
- Introduction to RDMA
- Construire un blog Cloud basé sur ECS (bénédiction sur le Code Cloud Xiaobao, explication détaillée de la tâche iphone13 gratuite)
猜你喜欢
OVS and OVS + dpdk architecture analysis
阿里云日志服务sls的典型应用场景
Build a cloud blog based on ECS (send blessings on the cloud Xiaobao code and draw iphone13 for free)
基于ECS搭建云上博客(云小宝码上送祝福,免费抽iphone13任务详解)
Dolphinscheduler调度sql任务建表时The query did not generate a result set异常解决
Prometheus thanos Quick Guide
MySQL 【读写锁+表锁+行锁+MVCC】
基于ECS搭建云上博客(体验有礼)
Practice using polardb and ECs to build portal websites
Introduction to common APIs for EBFP programming
随机推荐
MySQL server standalone deployment manual
19C中ASM network未自动启动的处理
Try catch cannot catch asynchronous errors
Redis FAQ
Introduction to common APIs for EBFP programming
Abnormal record-12
Common views of Oracle database performance analysis
Thanos Compact组件测试总结(处理历史数据)
Analysis of Rdam principle
Chaos vous emmène au projet chaos.
select命令产生redo日志问题的分析
EMR Based offline data analysis - polite feedback
MySQL 【读写锁+表锁+行锁+MVCC】
Exception record-5
Exception record-8
[fish in the net] ansible awx calls playbook to transfer parameters
How to use DBA_ hist_ active_ sess_ History analysis database history performance problems
几款电纸书阅读器参数对比
基于EMR离线数据分析-反馈有礼
BPF program of type XDP