[Twisted-Python] Have I installed twisted correctly - part II
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 Simon _________________________________________________________________ Could you be the guest MSN Movies presenter? Click Here to Audition http://www.lightscameraaudition.co.uk
On Fri, 08 Jun 2007 16:15:16 +0100, Simon Pickles <sipickles@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
participants (2)
-
Jean-Paul Calderone
-
Simon Pickles