博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
centos下django需要安装sqlite
阅读量:4171 次
发布时间:2019-05-26

本文共 327 字,大约阅读时间需要 1 分钟。

准备在CentOs下安装django,但是,执行python manage.py runserver命令时,发生如下错误:


django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3

解决方法:

需要安装sqlite的开发包。找到如下方法,安装sqllite的开发包,然后编译,成功!
1、yum install sqlite-devel
2、重新make python:
make
3、安装:               
make install

(完)

转载地址:http://rvyai.baihongyu.com/

你可能感兴趣的文章
Win32ASM备忘之搭建UltraEdit实验环境
查看>>
The Best Linux Distribution of them all
查看>>
Oracle Apps DBA Interview Questions
查看>>
简单屏幕锁(Simple Screen Locker) 1.1.6.16
查看>>
Bash String Manipulation Examples – Length, Substring, Find and Replace
查看>>
String Operations in Shell
查看>>
烦请解释一下“驱动表”的概念
查看>>
IPAide(IP助手) v1.01
查看>>
Oracle 11g RAC SCAN basics
查看>>
ASM appears to be running, but connect via sqlplus, says idle instance.??
查看>>
Oracle EBS R12 - Steps and Issues/Resolutions during R12.1.1 to R12.1.3 Upgration
查看>>
HW的最后一轮面试
查看>>
简易Python电话本(Simple Python Telephone Book)
查看>>
经典影视日语
查看>>
JPad 1.00(20081213)
查看>>
test the difference between "DEFAULT NULL" and "DEFAULT 0"
查看>>
一个非常方便好用的ADO数据库连接字符串生成工具
查看>>
轻松得到C# ADO.NET的各种数据库连接字符串
查看>>
DLL文件制作与在VBA调用初级进阶
查看>>
Excel VBA: Delete Module After Running VBA Code. Deleting Modules via VBA Code
查看>>