Re: [Pyobjc-dev] import objc -> Symbol not found: _PyType_Modified
Brought to you by:
ronaldoussoren
From: anurag u. <anu...@ya...> - 2010-07-16 16:35:22
|
Thanks a lot! I will see i I can move to python 2.6, or will try to build older version of pyobjc. I am new to Mac and confused by universal binary issue, I want to build a standalone version of my app which will run on intel/ppc etc So I don't wanted to use System Python as per various threads e.g. http://aralbalkan.com/1675 py2app won't include system python with distributable. I did not remove /System/Library/Frameworks/Python.framework but when pyobjc build failed I thought things may be getting mixed so renamed /System/Library/Frameworks/Python.framework temporarily as last resort, though my system worked perfectly after that :) rgds Anurag ----- Original Message ---- From: Ronald Oussoren <ron...@ma...> To: anurag uniyal <anu...@ya...> Cc: pyo...@li... Sent: Fri, 16 July, 2010 8:01:20 PM Subject: Re: [Pyobjc-dev] import objc -> Symbol not found: _PyType_Modified On 16 Jul, 2010, at 8:36, anurag uniyal wrote: > My system is Mac OS X 10.5.8 and I have installed python from > http://www.python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmg because I do not > > want to use System python (python which already comes installed with Mac OS X) Why 2.5.4? That is an ancient release. > > and have totally removed system python. You have broken your system in a way that needs a reinstall to fix. Just like you cannot remove /usr/bin and expect the system to continue you cannot remove /System/Library/Frameworks/Python.framework. Furthermore there is no need whatsoever to remove the system install to use another version. > > Now when I try to install pyobjc it installs, but on import gives error I don't know why this happens and won't try to debug issues with ancient versions of Python. The next release of pyobjc, which will be released any day now, won't support python 2.5 at all because I use syntax that was introduced in 2.6. The release beyond that will have hard dependencies on features that cannot be implemented with CPython 2.5 at all. Ronald |