I'm trying to setup a Postgresql db with my TG2 application. I have changed
the relevant line in development.ini as instruction to
"sqlalchemy.url=postgres://test:t...@localhost:5432/test". When I run paster
setup-app I get an error "No module named psycopg2". So I try to
easy_install psycopg2 and get the error "Python was installed with Visual
Studio 2003....". So I download psycopg2 and install it manually and
still get the same problem when I run paster setup-app. I was thinking that
perhaps when I run psycopg2 manually, it may not be accessible via the
virtual environment that I use for TG2? But I'm only guessing and really
don't know what the problem is. Can anyone help? By the way, I have no
problem getting a postgresql db working with TG1.

Thanks,
Michael

--~--~---------~--~----~------------~-------~--~----~
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