문제

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