Hello,
Has anyone had this problem?
Installed trac with pip
$ pip -E /opt/trac install trac psycopg2
sql: create database trac
Tried to create a project with this
$ source /opt/trac/bin/activate
$ trac-admin /opt/trac/myproj initenv
Then use this as the connection string ...
postgres://postgres:post_ad...@localhost/trac
Failed to create environment.
Cannot load Python bindings for PostgreSQL
Traceback (most recent call last):
File "/opt/trac/lib/python2.6/site-packages/trac/admin/console.py",
line 413, in do_initenv
options=options)
File "/opt/trac/lib/python2.6/site-packages/trac/env.py", line 221,
in __init__
self.create(options)
File "/opt/trac/lib/python2.6/site-packages/trac/env.py", line 409,
in create
DatabaseManager(self).init_db()
File "/opt/trac/lib/python2.6/site-packages/trac/db/api.py", line
145, in init_db
connector, args = self.get_connector()
File "/opt/trac/lib/python2.6/site-packages/trac/db/api.py", line
195, in get_connector
raise TracError(connector.error)
TracError: Cannot load Python bindings for PostgreSQL
I know I have psycopg2 installed.
--
You received this message because you are subscribed to the Google Groups "Trac
Users" 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/trac-users?hl=en.