Oh and just to clarify, I know I can't just plop over my python with 
psycopg2 folder somewhere else--it's already part of a packagish thingy 
that can be easily built/installed in each network.

On Thursday, September 26, 2013 2:45:10 PM UTC-7, [email protected] wrote:

>  Aw poo, there's no easier way to do this?  I'm using suse btw.
>  
> The difficulties are that I would need to get virtualenv approved first, 
> which would definitely not happen until after my deadline.
>  
> I also thought about asking them to just install psycopg2 but that could 
> also take a long time and additionally I may have to deploy this on other 
> networks.  So I was hoping I could just transfer over my web2py and python 
> (with psycopg2) folders to future networks.  Otherwise, I would need to 
> wait for them to install psycopg2 on every network I want to deploy to.
>  
>
> On Thursday, September 26, 2013 1:59:39 PM UTC-7, Richard wrote:
>
>> 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 <[email protected]>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, [email protected]: 
>>>>
>>>>  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 [email protected].
>>> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to