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
完美解决问题!!
本文出自 “晅哥linux” 博客,请务必保留此出处http://weihaoxuan.blog.51cto.com/8698172/1924720
原文地址:http://weihaoxuan.blog.51cto.com/8698172/1924720