[Twisted-Python] Have I installed twisted correctly - part II

Jean-Paul Calderone exarkun at divmod.com
Fri Jun 8 10:50:05 MDT 2007


On Fri, 08 Jun 2007 16:15:16 +0100, Simon Pickles <sipickles at hotmail.com> wrote:
>Sorry, how lazy of me!
>
>*** Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit 
>(Intel)] on win32. ***
>>>>
>
>>>>
>Traceback (most recent call last):
>  File "<string>", line 74, in run_nodebug
>  File "F:\_Dev\twisted server 20070608\twistedServer.py", line 5, in 
><module>
>    from twisted.internet import reactor
>  File "C:\Python25\lib\site-packages\twisted\__init__.py", line 19, in 
><module>
>    from zope.interface import Interface
>  File "C:\Python25\lib\site-packages\zope\interface\__init__.py", line 58, 
>in <module>
>    _wire()
>  File "C:\Python25\lib\site-packages\zope\interface\interface.py", line 936, 
>in _wire
>    classImplements(Attribute, IAttribute)
>  File "C:\Python25\lib\site-packages\zope\interface\declarations.py", line 
>464, in classImplements
>    spec = implementedBy(cls)
>  File "C:\Python25\lib\site-packages\zope\interface\declarations.py", line 
>330, in implementedByFallback
>    if isinstance(spec, Implements):
>TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and 
>types
>>>>
>
>
>btw, the line
>
>from twisted.internet import reactor
>
>is the ONLY line in the module currently!
>
>Thanks

It looks like your version of ZopeInterface doesn't want to play nicely
with your version of Twisted.  Try getting the latest release of each.

Jean-Paul




More information about the Twisted-Python mailing list