Hello Ken,

the usual problem: setuptool does not find automagically a special import.

Workarounds: 
- add "zope" and "zope.interface" to the "includes" option within setup.py
- explicitly import zope and import zopr.interface from your main application script

best wishes,

Harald

On Fri, Dec 17, 2010 at 15:51, Ken MacDonald <drken567@gmail.com> wrote:
My py2exe seems to be completing successfully, but when I run I get this traceback. I've tried explicitly importing the module in my setup.py, but that fails. Running from the cmd line python interpreter, I can import both zope and zope.interface successfully; zope is a built-in and zope.interface is in site-packages. Suggestions appreciated!
Ken

Traceback (most recent call last):
  File "cwp_server.py", line 18, in <module>
  File "twisted\internet\reactor.pyc", line 37, in <module>
  File "twisted\internet\selectreactor.pyc", line 17, in <module>
ImportError: No module named zope.interface

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users




--
GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971
-
persuadere.
et programmare