What distro? They're all different.

Can you ask the admin to install psycopg2? If (s)he does it psycopg2 will 
probably go into the proper site-packages directory.

You might also look into virtualenv. 


On Thursday, September 26, 2013 3:39:27 PM UTC-4, ewon...@gmail.com 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to