First of all, I need to run twisted application on my server but what I get is this error
File "server2.py", line 1, in <module>
from twisted.internet.protocol import Factory, Protocol
File "/usr/lib64/python2.6/site-packages/Twisted-15.0.0-py2.6-linux-x86_64.egg/twisted/__init__.py", line 53, in <module>
_checkRequirements()
File "/usr/lib64/python2.6/site-packages/Twisted-15.0.0-py2.6-linux-x86_64.egg/twisted/__init__.py", line 51, in _checkRequirements
raise ImportError(required + ".")
ImportError: Twisted requires zope.interface 3.6.0 or later.
So, this leads me to installed zope.interface. After running setup.py in zope.interface-4.1.2, I see this
Finished processing dependencies for zope.interface==4.1.2
I think I've updated it but when I run my twisted app, the same error appeared. Please help me.
Which linux distro/AMI are you using? did you check if you have multiple python versions installed? maybe zope.interface requires c-binding library and you better of installing this package from apt-get/yum?