cannot import interface(win32, IDLE)

View: New views
2 Messages — Rating Filter:   Alert me  

cannot import interface(win32, IDLE)

by CrazyPlaya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi @ all,

if I try to interpret the shtoom module I am getting the error
from twisted.python.components import Interface
ImportError: cannot import name Interface

Twisted installed. I´ve heard I have to install Zope. But after that nothing changed.

What I have to do?


Greetings
CrazyPlaya

Re: cannot import interface(win32, IDLE)

by Frank Scholz-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
> if I try to interpret the shtoom module I am getting the error
> from twisted.python.components import Interface
> ImportError: cannot import name Interface
>
> Twisted installed. I´ve heard I have to install Zope. But after that nothing
> changed.
>
> What I have to do?

If I recall right you need to replace in file shtoom/interfaces.py
line 3:

from twisted.python.components import Interface

with

from zope.interface import Interface

And you don't need a full Zope installation, zope-interface is enough.

Ciao,
Frank

_______________________________________________
Shtoom mailing list
Shtoom@...
http://mail.python.org/mailman/listinfo/shtoom