Hello,

I use some python code in my Cocoa app witch target Leopard.

main.m:

#import <Python/Python.h>

and:

Py_Initialize();

in my code I use:

PyRun_SimpleString(..)

It works fine on my machine but on other machines it crashes on startup with:

Date/Time:       2008-08-07 00:08:39.219 +0100
OS Version:      Mac OS X 10.5.4 (9E17)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
Library not loaded: /Library/Frameworks/Python.framework/Versions/ 2.4/Python Referenced from: /Users/Tim/Desktop/Pantografer.app/Contents/MacOS/ Pantografer
  Reason: image not found

I do not have any python 2.4 on my machine and link again the 2.5 framework.

what could be wrong.

Thanks
Georg
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to