Lukasz Szybalski schrieb:
> On Tue, Sep 9, 2008 at 6:26 AM, Florent Aide <[EMAIL PROTECTED]> wrote:
>> Well to be fair enough, the --no-site-package is working as excpected
>> on Gnu/Linux (all flavors), Windows and Mac...
> 
> well. I know I had similar problem when using python 2.4 on debian stable.
> 
> How do you "install sqlite inside your env (either by copying the
> relevant files or any other method you see fit)."
> 
> sqlite is not a python package so I don't think I can install it with
> easy_install sqlite... so what other way can I install it in env?
> (mind that it is already installed in global system)

You should not confuse sqlite (the C library), "sqlite3" (the Python
module) and "pysqlite" (the third-party Python package).

To use sqlite3 or pysqlite on debian, you need to install the "sqlite3"
deb package (this is mentioned in the TG install docs, I think). To
install the pysqlite2 package with easy_install from a source tarball,
you need the "sqlite3-dev" additionally - or you can just install a
binary egg from http://turbogears.org/download/filelist.html.

You only need pysqlite, when you are using Python 2.4. When you are
using virtualenv with the "--no-site-packages" option, you need to
install pysqlite into the virtual env (with "easy_install pysqlite"
after activating the virtual env). For TG 1.0 this is also described in
the installation docs:

http://docs.turbogears.org/1.0/Install#database-installation-and-configuration

resp.

http://docs.turbogears.org/1.0/DatabaseSQLite


Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to