On 31-mrt-2006, at 1:01, Dan Grassi wrote: > Hi, > > I had embedded python under 10.3.x but under 10.4 it fails on import > from Foundation import * > It seems that the problem is that it is launching the wrong python. > > sys.path: ['/System/Library/Frameworks/Python.framework/Versions/ > 2.3/lib/python23.zip'... > > I have installed > MacPython-OSX-2.4.1-1.dmg > and > TigerPython24Fix-r2.mpkg > > I am including: > /Library/Frameworks/Python.framework/ > which has: > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ > site-packages/PyObjC/ > > What am I missing that I need to setup?
You're linking with the system python instead of the one you include in your application bundle. Ronald > > TIA, > > Dan_______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig