[Trac] installing trac in linx rh 9 problem

Emmanuel Blot manu.blot at gmail.com
Tue Aug 23 13:27:56 CDT 2005


> >>import sqlite
Does it work ?

It the above command works, it means that the Python interpretet has
found the SQLite wrapper. If you get no error with the above command,
read this:
What I'm thinking now is that you have two different Python
interpreters installed on your system, and the SQLite wrapper are
installed for one interpreter, but you are using the wrong interpreter
to run Trac.

Have a look at the bang line of trac-admin: it uses env python to
start the python interpreter.

If Python 2.2 is not required on your machine, you may want to remove
it, that would save you some hassle dealing with paths etc.

> i checked out /usr/lib/python2.2/site-packages/...but iam not sure what
> iam looking for. there is a sqlite and trac folder in it with some
> file...and there is _sqlite.so shared library.

try specifying the python interpreter:

/usr/bin/python trac-admin
  instead if 
trac-admin
  replacing /usr/bin/python with the actual path to python 2.2 
 
-- 
Manu


More information about the Trac mailing list