如何使用Python 3和Django与Apache? [英] How to use Python 3 and Django with Apache?

查看:149
本文介绍了如何使用Python 3和Django与Apache?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是用Apache设置Python 3。我最大的问题是获取mod_python.so。对于我的生活,我发现只有一个可以下载的站点(http://www.modpython.org/),而且我得到的是一堆构建和安装文件。



我没有找到没有指导说明如何使用Apache设置Python 3。所以如果有人现在可以通过它,互联网将终于包含解决方案!

解决方案

Django 1.6+和mod_wsgi 3.4+需要使用Python 3与Apache。有关详细信息,请参阅 scot的答案


My goal is to set up Python 3 with Apache. My biggest problem is actually acquiring mod_python.so. For the life of me I found only one site where it could be downloaded (http://www.modpython.org/) and what I got was a bunch of build and install files.

I can find no guide explaining how to set up Python 3 with Apache. So if someone could walk me through it now, the internet will finally contain the solution!

解决方案

Django 1.6+ and mod_wsgi 3.4+ are required to use Python 3 with Apache. For more detail refer to scot's answer.

这篇关于如何使用Python 3和Django与Apache?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆