Trying to start cometd python server on Mac OS X 10.5 - ImportError: cannot import name InterfaceBase

24 views
Skip to first unread message

panyasan

unread,
Oct 3, 2009, 9:52:47 AM10/3/09
to cometd-users
Hello,

I am having trouble installing a python cometd server on my Mac
(10.5). I am using the python (2.5) that is shipped with the OS.
Doing

cometd-1.0.0rc0/cometd-twisted/setup_dependencies.sh
sudo python cometd-1.0.0rc0/cometd-twisted/setup.py install

works fine. However, when I try to start the server with

sudo twistd -noy ./cometd.tac

I get the following error:

Traceback (most recent call last):
File "/usr/bin/twistd", line 20, in <module>
from twisted.scripts.twistd import run
File "/Library/Python/2.5/site-packages/twisted/scripts/twistd.py",
line 11, in <module>
from twisted.application import app
File "/Library/Python/2.5/site-packages/twisted/application/app.py",
line 7, in <module>
from twisted.python import runtime, log, usage, failure, util,
logfile
File "/Library/Python/2.5/site-packages/twisted/python/log.py", line
17, in <module>
from zope.interface import Interface
File "/Library/Python/2.5/site-packages/zope/interface/__init__.py",
line 55, in <module>
from zope.interface.interface import Interface, _wire
File "/Library/Python/2.5/site-packages/zope/interface/
interface.py", line 211, in <module>
from _zope_interface_coptimizations import InterfaceBase,
adapter_hooks
ImportError: cannot import name InterfaceBase

Anyone has an idea what could be wrong?

Thanks,

panyasan

piotrp

unread,
Nov 11, 2009, 11:33:20 AM11/11/09
to cometd-users
same problem here. Did you find a solution yet?
Reply all
Reply to author
Forward
0 new messages