Jump to content

[Solved] How To Use Python 3 With Wsgi?


Guest Arcanck

Recommended Posts

Guest herberth

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?

Link to comment
Share on other sites

  • 2 years later...

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.

Link to comment
Share on other sites

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