当前位置:网站首页>Django running error: error loading mysqldb module solution
Django running error: error loading mysqldb module solution
2022-07-06 11:08:00 【As。】
The error information is as follows :
resolvent :
Under the project __init__.py Add the following code to the file ( Mainly project project !!! It's not an application )
import pymysql
pymysql.install_as_MySQLdb()
After adding successfully, you can run successfully , Good luck ~
边栏推荐
- Navicat 導出錶生成PDM文件
- Remember the interview algorithm of a company: find the number of times a number appears in an ordered array
- Unable to call numpy in pycharm, with an error modulenotfounderror: no module named 'numpy‘
- MySQL other hosts cannot connect to the local database
- Have you mastered the correct posture of golden three silver four job hopping?
- TCP/IP协议(UDP)
- 导入 SQL 时出现 Invalid default value for ‘create_time‘ 报错解决方法
- Some problems in the development of unity3d upgraded 2020 VR
- [number theory] divisor
- JDBC原理
猜你喜欢
CSDN问答标签技能树(一) —— 基本框架的构建
Win10: how to modify the priority of dual network cards?
Generate PDM file from Navicat export table
Use dapr to shorten software development cycle and improve production efficiency
【博主推荐】SSM框架的后台管理系统(附源码)
QT creator create button
Swagger, Yapi interface management service_ SE
CSDN question and answer module Title Recommendation task (II) -- effect optimization
Mysql22 logical architecture
IDEA 导入导出 settings 设置文件
随机推荐
Ansible实战系列三 _ task常用命令
MySQL主从复制、读写分离
Navicat 导出表生成PDM文件
[Thesis Writing] how to write function description of jsp online examination system
neo4j安装教程
CSDN blog summary (I) -- a simple first edition implementation
frp内网穿透那些事
报错解决 —— io.UnsupportedOperation: can‘t do nonzero end-relative seeks
Have you mastered the correct posture of golden three silver four job hopping?
Postman Interface Association
安全测试涉及的测试对象
MySQL flush operation
Some problems in the development of unity3d upgraded 2020 VR
Classes in C #
Remember the interview algorithm of a company: find the number of times a number appears in an ordered array
Armv8-a programming guide MMU (2)
Mysql21 - gestion des utilisateurs et des droits
CSDN question and answer tag skill tree (I) -- Construction of basic framework
[Li Kou 387] the first unique character in the string
解决:log4j:WARN Please initialize the log4j system properly.