[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] ImportError: PyObjC
Hi,
I installed pygame located here:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
packages/pygame
But when I tried to test I got the following:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pygame/__init__.py", line 37, in <module>
_check_darwin()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/pygame/__init__.py", line 34, in _check_darwin
raise ImportError("PyObjC 1.2 or later is required to use pygame
on Mac OS X. http://pygame.org/wiki/PyObjC")
ImportError: PyObjC 1.2 or later is required to use pygame on Mac OS
X. http://pygame.org/wiki/PyObjC
I installed package pyobjc-1.4-py2.5-macosx10.4.mpkg.zip but when I
try to import pygame, I get the same error.
Here is my Python info:
sh-3.2# python
Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Located in
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
Thanks for the help!