[Pythonmac-SIG] AppKit ImportError (was py2app: ImportError)

Ronald Oussoren ronaldoussoren at mac.com
Fri Oct 14 08:03:57 CEST 2011

On 13 Oct, 2011, at 18:25, Sean Robinson wrote:

> On 10/10/2011 07:44 AM, Sean Robinson wrote:
>> On 10/08/2011 07:36 AM, Ronald Oussoren wrote:
>>> On 6 Oct, 2011, at 22:35, Sean Robinson wrote:
>>>> I believe I can overcome this error by finding the right path(s) to
>>>> append to the app bundle's sys.path, but I'm surprised that py2app
>>>> does not do this automagically.
>>> py2app should do this automaticly. What version of python do you use?
>>> Is that a custom install or the system version of python? And finally,
>>> which OSX version are you using?
>> This is on OSX 10.6.8, using the system version of Python 2.6.1. The
>> only non-standard packages/modules are py2app (0.6.4 pre-release and its
>> requirements) installed local to the user account. I am developing as
>> vanilla as I can get.
> Ronald,
>  So, to follow-up...  I have been able to create a working semi-standalone app bundle (which is what I wanted) by adding two more dirs to sys.path.  Thank you for py2app and for your help.  My app bundles work on 10.6.3 and 10.6.8 with the default Apple-provided Python on each.

Thank you. I'm going to use this to reproduce the problem and fix py2app.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20111014/03b0291b/attachment.bin>

More information about the Pythonmac-SIG mailing list