Hi, i'm trying to use the stable Trac version 0.12 on CentOS release 5.4 (Final) with Python 2.7.1
However, i ran into the error included below when i tried to creatd a new Trac environment TracError: Cannot load Python bindings for SQLite i suspect that is caused by two versions of Python installed in my system % /usr/local/bin/python -V Python 2.7.1 % /usr/bin/python -V Python 2.4.3 i should not touch the /usr/bin/python (2.4.3) installation since a lot of system-related stuff depends on it. The 2.7.1 Python was installed via "make altinstall" instead of "make install". For 2.7.1, i don't need to bother with the SQLite bindings AFAIK. Any suggestion what the problem might be? Thanks. ------------------------------------------------------------------------------------------ # trac-admin /usr/local/trac/FOO initenv Creating a new Trac environment at /usr/local/trac/FOO Trac will first ask a few questions about your environment in order to initialize and prepare the project database. Please enter the name of your project. This name will be used in page titles and descriptions. Project Name [My Project]> FOO Please specify the connection string for the database to use. By default, a local SQLite database is created in the environment directory. It is also possible to use an already existing PostgreSQL database (check the Trac documentation for the exact connection string syntax). Database connection string [sqlite:db/trac.db]> Creating and Initializing Project Initenv for '/usr/local/trac/FOO' failed. Failed to create environment. Cannot load Python bindings for SQLite Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/admin/console.py", line 413, in do_initenv options=options) File "build/bdist.linux-i686/egg/trac/env.py", line 221, in __init__ self.create(options) File "build/bdist.linux-i686/egg/trac/env.py", line 409, in create DatabaseManager(self).init_db() File "build/bdist.linux-i686/egg/trac/db/api.py", line 145, in init_db connector, args = self.get_connector() File "build/bdist.linux-i686/egg/trac/db/api.py", line 195, in get_connector raise TracError(connector.error) TracError: Cannot load Python bindings for SQLite ------------------------------------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-us...@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.