Ive compiled python 2.7 and django 1.3. When working with django I find that it reports..
ImportError: No module named _sqlite3
Ive ensure that all the correct sqlite packages are installed and recompiled but still no joy.
[root@monty Python-2.7.3]# rpm -qa | grep sql
sqlite-devel-3.3.6-5
postgresql-libs-8.1.23-6.el5_8
sqlite-3.3.6-5
python-sqlite-1.1.7-1.2.1
sqlite-devel-3.3.6-5
sqlite-3.3.6-5
python-sqlite2-2.6.3-1.el5.rf
postgresql-libs-8.1.23-6.el5_8
Thanks,
Install
sqlite-devel
and more importantly rebuild Python.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.