Wednesday, April 9, 2008

How to for "No moudle named zope.interface"

When you work on the twisted and run some programe,such as from twisted.internet import reactor.It's possible that you will get following exception:
"No moudle named zope.interface."
That means the "twisted.internet" package depends on the zope.interface page.So,how should we do?especially in windows paltform.The solution is download the zope.inteface package and install it.
you can download it from:http://www.zope.org/Products/ZopeInterface/3.1.0b1/zope.interface-3.1.0b1.win32-py2.4.exe
As you can see,for now,it's only include the version for python 2.4 .for python2.5 you must install from source code.

No comments: