You would need to have two separate Apache installations each using mod_wsgi compiled for different Python versions. You cannot load multiple copies of mod_wsgi into one Apache instance.
Graham On 20 March 2012 12:04, Carl Nobile <[email protected]> wrote: > No you must choose one or the other and develop only for the one you choose. > > Graham is the expert on this, but unless he has recently changed the > mod_wsgi code to use multiple versions if Python you can only use a single > version of Python at a time with mod_wsgi. > > If it were me I'd go with version Python version 2.7.2, if that's one of > your choices. > > ~Carl > > > On Tue, Mar 20, 2012 at 2:43 PM, Alon Nisser <[email protected]> wrote: >> >> thanks for the answer carl >> so if I have two versions of python on my computer can I install 2 >> versions of mod_wsgi? >> >> >> On Tuesday, March 20, 2012 5:41:02 PM UTC+2, Carl Nobile wrote: >>> >>> Alon, >>> >>> If you install a mod_wsgi mod that is compiled with Python 2.6 then all >>> your apps need to use Python 2.6 for all the apps that run with it. never >>> use any version of Python that mod_wsgi was not compiled against. >>> >>> ~Carl >>> >>> On Tue, Mar 20, 2012 at 8:59 AM, Alon Nisser wrote: >>> >>>> on my linux (ubunto 11) installation I have running both python 2.7 and >>>> 2.6 >>>> I want to install and configure mod_wsgi for my localhost running apache >>>> (to do some debugging.. I can't figure out with a bottle.py deployment to >>>> openshift who uses mod_wsgi) >>>> the virtualenv I want to run the application from is using python 2.6 >>>> should I install the specifc 2.6 mod_wsgi (which seems from looking in >>>> the guide more of a fuss, since it isn't the default python version in my >>>> installation)in order with the virtualenv >>>> or would the default installation (probably with python 2.7) would >>>> suffice for running the wsgi app in the virtenv? >>>> thanks for the help! >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "modwsgi" group. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msg/modwsgi/-/TFgjcGnZLcQJ. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/modwsgi?hl=en. >>> >>> >>> >>> >>> -- >>> >>> ------------------------------------------------------------------------------- >>> Carl J. Nobile (Software Engineer) >>> >>> >>> ------------------------------------------------------------------------------- >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/modwsgi/-/oIXhVEIrTwgJ. >> >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/modwsgi?hl=en. > > > > > -- > ------------------------------------------------------------------------------- > Carl J. Nobile (Software Engineer) > [email protected] > ------------------------------------------------------------------------------- > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
