This is what I did to get it to work.
I am using pythonbrew(which is using pip) with python 2.7.5 installed.
I first did what Zubair(above) said and ran this command:
sudo apt-get install libsqlite3-dev
Then I ran this command:
pip install pysqlite
This fixed the database problem and I got confirmation of this when I ran:
python manager.py syncdb

本文详细介绍了在Ubuntu Lucid环境下解决Python导入SQLite模块时出现的异常问题的方法,包括安装libsqlite3-dev、使用pip安装pysqlite等步骤,最终成功解决数据库问题。
8万+

被折叠的 条评论
为什么被折叠?



