简体   繁体   English

Windows上具有Python 2.6的mod_python

[英]mod_python with Python 2.6 on Windows

How do I install mod_python to run with Python 2.6 on a Windows machine? 如何在Windows机器上安装mod_python以与Python 2.6一起运行? I could not find an installer for Python 2.6. 我找不到Python 2.6的安装程序。

I downloaded this installer for (mod_python on Python 2.5): mod_python-3.3.1.win32-py2.5-Apache2.2.exe and extracted it to get PLATLIB and SCRIPTS folders. 我下载了此安装程序(用于Python 2.5上的mod_python ): mod_python-3.3.1.win32-py2.5-Apache2.2.exe并将其解压缩以获得PLATLIB和SCRIPTS文件夹。 Where do I go from here? 我从这里去哪里?

You don't. 你不知道 That's the install for Python 2.5 and will not work. 这是Python 2.5的安装, 将无法使用。 You can try the instructions here or use mod_wsgi instead as they suggest. 您可以按照此处说明进行操作,也可以按照建议使用mod_wsgi。

Nowhere. 无处。 That is for Python 2.5. 那是针对Python 2.5的。 You'll need to build from source if you want it to work with 2.6, or wait for them to get around to it. 如果您希望它与2.6一起使用,则需要从源代码构建,或者等待它们逐步解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM