Jump to content

[Solved] How To Use Python 3 With Wsgi?


Recommended Posts

Guest herberth
Posted

I use Python 3 to develop my website, because it works very nice with Unicode and has many other small conveniences that I like.

I used CGI, but it seems very slow. The website engine has really much to "cache" and running a single process should be significantly better than starting a new one every time.

So I would like to use the WSGI interface, but there seems to be no way to point it to Python 3, not 2.7. I did look through the internet and that doesn't seem easy to implement. But I'm quite desparate, as Python 2 is not an option for me

So is it possible to run Python 3 through mod_wsgi on HelioHost? If yes, how?

Guest herberth
Posted

Please, give me an answer!

Guest Arcanck
Posted

Please, I need this answer urgently!

  • 2 years later...
Posted

For anyone who finds this thread through a search, mod_wsgi can only be associated with one version of Python at a time. When this post was made mod_wsgi was compiled with python 2.7. On Tommy mod_wsgi currently uses python 3.6.0. Mod_wsgi is not installed on Johnny so you have to use cgi there or move to Tommy. Closing since this thread is three years old.

Guest
This topic is now closed to further replies.
×
×
  • Create New...