Re: [Pyobjc-dev] Cocoa-Python Application on Leopard
Brought to you by:
ronaldoussoren
|
From: Olivier F. <ofe...@du...> - 2008-02-16 18:00:59
|
Hi bill, thanks for your email. I am still struggling with this objc error. On Jan 28, 2008, at 6:40 PM, Bill Bumgarner wrote: > On Jan 28, 2008, at 10:38 AM, Olivier Fedrigo wrote: >> have anyone resolved this problem yet? >> I experience exactly the same issue. I've tried to reinstall xCode >> after removing the older python and it did not work (but maybe I >> forgot to delete some other aliases?) >> any suggestions? > > 1. test python on command line; what is its path? ['', '/Library/Frameworks/Python.framework/Versions/2.5/lib/ python25.zip', '/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5', '/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/plat-darwin', '/Library/Frameworks/Python.framework/Versions/ 2.5/lib/python2.5/plat-mac', '/Library/Frameworks/Python.framework/ Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/Library/ Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/ Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib- dynload', '/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages'] > > > 2. import objc from that version; what is its path? objc is absent So I am very confused at this point. it should be there. any idea? Thanks, Olivier > > > 3. add a bit of code to your main.py before the 'import objc' that > dumps the python path > > b.bum Olivier Fedrigo, Ph.D. Biology Dpt. and Institute for Genome Sciences & Policy Duke University 4235 French Family Science Durham, NC 27708-0338 T. 919.668.7634 F. 919.660.7293 www.acpub.duke.edu/~ofedrigo/ |