[Twisted-Python] Trying to get twisted.protocols.amp to work with py2app...

Andreas Kostyrka andreas at kostyrka.org
Tue Mar 4 16:37:37 EST 2008

And the canonical way to locate that problem would be to add something

import twisted.protocols
print twisted.protocols.__file__

to your app, to see from where the twisted package is coming.

Am Dienstag, den 04.03.2008, 16:26 -0500 schrieb Christopher Armstrong:
> On Tue, Mar 4, 2008 at 3:53 PM, Nathan <nathan.stocks at gmail.com> wrote:
> >  Yes, I've taken all that into consideration from the start.  As
> >  mentioned in my last post, I have a fully working version of Twisted
> >  2.5.  I followed that very FAQ back when I first installed it.  I've
> >  explicitly told py2app to use my PYTHONPATH variable, and it actually
> >  copies twisted/protocols/amp.py into the app bundle.  Yet the .app
> >  still fails with that import error about amp.  Weird!
> Maybe when you actually run the .app it's finding the system-installed
> version of Twisted?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20080304/93805545/attachment.pgp 

More information about the Twisted-Python mailing list