[Flask] Deploying on httpd and mod_wsgi

Craig Amundsen amundsen.craig at gene.com
Thu Sep 22 16:29:58 EDT 2016

Hi -

Yeah, I was trying to be cute and use a different python installation, but
I've read a bit more and it looks like my mod_wsgi module was built against
the system python, so the easiest thing now is it use a virtualenv and and
tell mod_wsgi that that's what I'm doing.

- Craig

On Thu, Sep 22, 2016 at 1:20 PM, Alex Alex <alex-alex-90 at wp.pl> wrote:

> Hi,
> I'm not an expert on mod_wsgi and Apache. In fact I've used it many years
> ago for the last time.
> Are you sure your imports are fine? The error says that you are missing
> LCD module - probably it is installed on your laptop but not the on the
> server. Without seeing your requirements.txt and flask app imports I guess
> it will be hard to say something more.
> As for Apache unless you have some special requirements you may want to
> check out gunicorn - it works nicely with flask applications and is python
> based. That is how I run test instances on Heroku actually.
> Cheers
> Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160922/ff5b339b/attachment.html>

More information about the Flask mailing list