----- Original Message -----
From: "Ronald Oussoren" <ronaldousso...@mac.com>
To: "Mike" <smartmi...@gmail.com>
Cc: <pythonmac-sig@python.org>
Sent: Monday, May 03, 2010 1:09 AM
Subject: Re: [Pythonmac-SIG] Module Import Problem
On 2 May, 2010, at 20:16, Mike wrote:
I built the latest PyObjC from source and got the same error.
What is 'the latest'? It should be possible to use "easy_install
http://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2.tar.gz"
to install pyobjc-core, then "easy_install pyobjc==2.2" to install the rest.
Ronald
I followed your suggestion and installed pyobjc-core. Now my program runs,
but the window pops up for a second then closes. I'm using Wx for my gui.
Also, pygame does not play any sounds, I tried this separately from the
program itself, it loads sounds and does not play them. Sorry I don't have
anymore information, but the program just closes without any errors, works
fine on Windows and Linux.
Mike
Do I need to build the older version, PyObjC 2.0? Also, what is mac ports?
Mike
----- Original Message ----- From: "Aahz" <a...@pythoncraft.com>
To: <pythonmac-sig@python.org>
Sent: Saturday, May 01, 2010 9:55 PM
Subject: Re: [Pythonmac-SIG] Module Import Problem
On Sun, Apr 25, 2010, Mike wrote:
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyobjc_core-2.2-py2.6-macosx-1
0.3-fat.egg/objc/_objc.so, 2): Library not loaded:
/usr/lib/libxml2.2.dylib
Referenced from:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyobjc_core-2.2-py2.6-macosx-10
.3-fat.egg/objc/_objc.so
Reason: Incompatible library version: _objc.so requires version 10.0.0
or later, but libxml2.2.dylib provides version 9.0.0
Just for the record, this is from downloading PyObjC 2.2 from PyPI, which
is only built on/for Mac 10.6. Your later guess that you need to build
from source is entirely correct. However, you may be able to use
MacPorts instead of downloading source directly. (Someone suggested that
earlier when I was having problems, but I'd already managed to build from
source myself.)
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG