I think the original poster mentioned creating the virtualenv without using the "--no-site-packages" option and in that case, technically the psycopg2 module should be detected if it is installed in the system site-packages. I have heard from people who have more experience with this stuff than I do that you may experience other problems as a result of clashes between your system site-packages and the virtualenv site-packages.
HTH, Ali On Mar 11, 2009, at 2:56 PM, Derick Eisenhardt wrote: > > On Mar 10, 3:53 pm, Ed Valentine <[email protected]> wrote: >> If psycopg2 is on the system and I create the virtualenv without "no- >> site-packages" will the existing psycopg2 module be used? > > No, the no-site-packages command says ignore anything installed on the > system beyond what comes with Python by default...ie, psycopg2. The > fix is simple though, after you run "easy_install -i > http://www.turbogears.org/2.0/downloads/current/index tg.devtools" > simply change the 'tg.devtools' to 'psycopg2' and run it again ;) > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

