django sqlite3 error
如果出现下面错误:
Django.core.exceptions.ImproperlyConfigured: Error loading pysqlite2 module: No module named pysqlite2
请安装这个模块:
#wget Http://pysqlite.Googlecode.com/files/pysqlite-2.6.3.tar.gz
#tar -zxvf pysqlite-2.6.3.tar.gz
#cd pysqlite
#python setup.py build_static install
#tar -zxvf pysqlite-2.6.3.tar.gz
#cd pysqlite
#python setup.py build_static install
相关文章