pangxia75 发表于 2018-8-14 12:25:53

新装python环境启动django程序报错

个人独立博客 http://www.xbman.cn/
出处:http://www.xbman.cn/article/1
django启动报错
  django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3
解决方法
  centos
yum install python-devel -yyum install sqlite-devel -y  然后重新编译安装python
cd Python-2.7.13./configure && make && make install  完美解决问题!!
页: [1]
查看完整版本: 新装python环境启动django程序报错