Re: [SQLObject] No module named sqlite
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Kevin D. <da...@gm...> - 2005-08-05 02:17:19
|
On 8/4/05, Bryan Murdock <bmu...@gm...> wrote: > On 8/4/05, Alexei Vinidiktov <ale...@gm...> wrote: > > from sqlobject import * > > import os > > conn =3D connectionForURI("sqlite:/" + os.getcwd() + "/database.db") >=20 > Looks like you need another slash after sqlite:/ >=20 > Other than that I have the above working with SQLObject 0.6.0 at home. > From the traceback though it looks like you are missing pysqlite. You must not be using pysqlite 2.0. They changed the package name (among many other things) in pysqlite 2.0, and that required some changes in SQLObject that won't be fully released until 0.7. Kevin |