I am attempting to write an app in Jython running on Pyramid (debating using Django instead right now also). In the Pyramid Installation Docs they mention that they support Python 2.6 and it has worked on Jython 2.5.1. Fair enough!

What I don't understand is that Jython 2.5.x is built against the reference Python version of 2.5 which is obviously lesser than the required Python 2.6 version. Thus, when I attempted to install with version even version 2.5.2 of Jython, I get an error when installing from setup-tools Pyramid requires at least Python 2.6 or something to that effect.

Has anyone attempted this and run into this issue, am I missing something? Less importantly, why would Pyramid support Python 2.6 but say it will run on Jython 2.5 (= Python 2.5)?

Thanks in advance!

有帮助吗?

解决方案

Pyramid 1.3.X won't run on Jython 2.5.X (or any other Python 2.5-derived implementation) but Pyramid 1.2.X will, as long as you use Python 2.5 compatible versions of its dependencies. This means WebOb less than 1.2, at least.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top