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
本文介绍了如何通过安装libsqlite3-dev并使用pip安装pysqlite来解决Python环境下SQLite数据库的问题。作者首先使用了sudo apt-get install libsqlite3-dev命令安装了必要的库,然后通过pip install pysqlite命令完成了pysqlite的安装。
8万+

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



