WebFaction
Community site: login faq

I am trying to use Flask on Python 3.3 (Flask doesn't work with Python 3.2) and creating the application as a mod_wsgi3.4/python3.2 in webfaction Applications.

This is causing me an error and on searching for it points to Flask doesn't work with Python 3.2. How do I make my mod_wsgi application use Python3.3 instead of the 3.2 that it uses as part of the "webfaction -> Applications". I tried to search for ways to configure mod_wsgi3.4 to use python3.3 in webfaction and have not found anything useful so far.

Please help.

Thanks,

asked 12 Oct '13, 08:52

Ramesh
111
accept rate: 0%


It is not possible to convert a mod_wsgi/python3.2 application to python3.3 because the mod_wsgi module to compiled with a specific version of python. In order to update you would need to re-compile that module from source and possible reinstall apache as well. We are working on an installer for mod_wsgi/python3.3 and it should be released soon.

permanent link

answered 12 Oct '13, 11:00

timg ♦♦
1.3k4
accept rate: 30%

Thanks for the quick response. I understand that you don't have this available via the web setup of Applications to install mod_wsgi/python3.3 How do I setup mod_wsgi/python3.3 manually? Is there any script that I can use to setup my application until this is available via the web option?

The library I am using is only available in Python 3 and Flask web framework doesn't work with python 3.2. It only works with Python 2.7 or 3.3. I need to use Python 3 to use the other oauth API library.

Appreciate if you can help me with the shell script / steps to install mod_wsgi 3.4 / python3.3

Thanks, Ramesh

(12 Oct '13, 13:05) Ramesh

Please open a ticket at our support site, and we'll help you find a solution.

(12 Oct '13, 13:57) timg ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×55
×44
×23

question asked: 12 Oct '13, 08:52

question was seen: 4,156 times

last updated: 12 Oct '13, 13:57

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM