What version of python can I use with Twisted / Zope?

I noticed that Twisted has a dependency on Zope. I found that when I tried to install Zope, after starting up. / configure, it tells me that I need to use python2.4 (not python 2.5+, which I would like to use).

However, I saw several tutorials and tutorials that suggested using python 2.5 for Twisted. So I'm just confused. Has anyone asked this and conducted some of the twsited web examples that use zope? What version of python did you use? Was there an installation guide somewhere?

+3
source share
2 answers

Twisted is not dependent on the full zope. It is simple zope.interface, which is a small module of pure python, packaged separately from all zope.

You can download the version .tar.gzand run the regular one python setup.py install, which should work. Or if your operating system includes a package management system, you can check it for an easy-to-install package. For example, in debian / ubuntu you can do:

apt-get install python-zopeinterface

or even

apt-get install python-twisted

directly.

+7
source

If you install twisted with pip installor easy_install, it will download and install zope.install for you.

0
source

Source: https://habr.com/ru/post/1785946/


All Articles