Hi Massimo,

Ultimately your answer put me on the right track. Here is what I did to get 
it to work: 
https://www.fir3net.com/Programming/Python/how-do-i-compile-modwgsi-for-python-27.html

Thank you so much!

On Tuesday, August 18, 2015 at 6:42:18 PM UTC-4, Massimo Di Pierro wrote:
>
> Does this help?
>
>
> http://stackoverflow.com/questions/6450459/mod-wsgi-and-multiple-installations-of-python
>  
> <http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F6450459%2Fmod-wsgi-and-multiple-installations-of-python&sa=D&sntz=1&usg=AFQjCNFnTjV6iGMTiJEG4THcEanCVyxl1g>
>
> On Tuesday, 18 August 2015 16:30:29 UTC-5, LoveWeb2py wrote:
>>
>> Hi Massimo,
>>
>> Thank you so much for your reply. I checked through all .conf files and 
>> the only references it makes to any type of python is the wsgi config. I'm 
>> using the default wsgi handler that web2py comes with. Is there anything 
>> else it could be?
>>
>> On Sunday, August 16, 2015 at 4:24:28 PM UTC-4, Massimo Di Pierro wrote:
>>>
>>> This must be specified in your httpd.conf file somewhere
>>>
>>> On Friday, 14 August 2015 17:25:21 UTC-5, LoveWeb2py wrote:
>>>>
>>>> When I type python web2py.py -S myapp -M the app loads up in python 2.7 
>>>> just fine, but when I type service httpd start it runs using Python2.6.6
>>>>
>>>> I can't seem to find where the setting to change this is. Any help is 
>>>> really really appreciated.
>>>>
>>>> On Friday, August 14, 2015 at 6:02:43 PM UTC-4, LoveWeb2py wrote:
>>>>>
>>>>> I'm currently using web2py with wsgihandler.py 
>>>>>
>>>>> When I type "python" in my regular environment it starts with 
>>>>> python2.7, but when I start apache using service httpd start web2py 
>>>>> defaults to 2.6
>>>>>
>>>>> Is there anyway I can make web2py use 2.7 which has all my modules?
>>>>>
>>>>>

-- 
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/d/optout.

Reply via email to