当前位置:网站首页>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
边栏推荐
- Prometheus和Thanos Receiver的“写多租户”实现
- Prometheus Thanos与Cortex组件比较
- Kubernetes CoreDNS常见问题资料参考
- Chaos帶你快速上手混沌工程
- "Write multi tenant" implementation of Prometheus and thanos receiver
- Introduction to RDMA
- EMR Based offline data analysis - polite feedback
- 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)
- Redis FAQ
- How does VirtualBox modify the IP network segment assigned to the virtual machine in the "network address translation (NAT)" network mode
猜你喜欢

冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
![[ES6 quick start]](/img/9e/4c4be5907c1f7b3485c2f4178b9150.png)
[ES6 quick start]

Prometheus cortex Architecture Overview (horizontally scalable, highly available, multi tenant, long-term storage)

Virtio and Vhost_ Net introduction

Apache Atlas 编译及安装记录

Redis FAQ

Winter combat camp hands-on combat - first understand the cloud foundation, hands-on practice ECS ECS ECS novice on the road to get the mouse cloud Xiaobao backpack shadowless

Basic concepts of database: OLTP / OLAP / HTAP, RPO / RTO, MPP

BPF program of type XDP

Introduction to common APIs for EBFP programming
随机推荐
基于ECS搭建云上博客(体验有礼)
Include of ansible module_ Tasks: why is the imported task not executed after adding tags?
Oracle Performance Analysis Tool: oswatcher
Introduction to common APIs for EBFP programming
Virtio and Vhost_ Net introduction
Ali vector library Icon tutorial (online, download)
js 函数包裹forEach中使用return跳不出外层函数
Redis practice notes and source code analysis
Openvswitch compilation and installation
Abnormal record-12
Chaos帶你快速上手混沌工程
VirtualBox如何修改“网络地址转换(NAT)”网络模式下分配给虚拟机的IP网段
BCC installation and basic tool instructions
19C中ASM network未自动启动的处理
[shell script exercise] batch add the newly added disks to the specified VG
RAC环境alert日志报错Drop transient type: SYSTP2JW0acnAurDgU1sBqMBryw==的排查
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)
Comparison between Prometheus thanos and cortex components
JS format current time and date calculation
Oracle redo log产生量大的查找思路与案例