Yeah I would suggest also virtualenv if you did that yourself (python dir
stuff)... virtualenv are exactly to manage differents environnements for
differents projects :

http://simononsoftware.com/virtualenv-tutorial/
http://iamzed.com/2009/05/07/a-primer-on-virtualenv/

>From accepted answer :
http://stackoverflow.com/questions/5844869/comprehensive-beginners-virtualenv-tutorial

Richard


On Thu, Sep 26, 2013 at 4:30 PM, Cliff Kachinske <cjk...@gmail.com> wrote:

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

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