I mean that when I log onto the system and do >which python /usr/bin/python This /usr/bin/python does not have psycopg2 installed However I have a /usr/blah/blah/blah/bin/python and this one does have psycopg2 installed. What I was doing during development was adding /usr/blah/blah/blah/bin/python to the beginning of my path and then launching web2py. So then web2py would use my /usr/blah/blah/blah/bin/python with psycopg2 instead of using the default /usr/bin/python (which does not have psycopg2) On Thursday, September 26, 2013 12:44:37 PM UTC-7, Richard wrote:
> what do you mean by separate directory? > > You can have look in web2py/scripts there is various script to help in > installing web2py and it requirement for faster deployment. > > Richard > > > On Thu, Sep 26, 2013 at 3:39 PM, <ewon...@gmail.com <javascript:>> wrote: > >> Hi, >> How can I get my web2py deployed on apache to use psycopg2 (on linux)? >> >> My "default" python does not have psycopg2 installed. However, I have a >> separate directory containing python with psycopg2 installed. I got it >> working when I developed on the Rocket server by adding this directory to >> my path prior to starting up web2py. But for the deployment on apache, I >> am not the one who starts up the server/web2py so *I* cannot add the >> directory to the path prior to its launch. Do you have any suggestions of >> what to do? >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.