0

I have installing pygame 1.6.2 by python setup.py install from tar i downloaded from pygame website, however when I try to import pygame I am getting this error:

macHost:fooBar$ cd Downloads/pygame-1.6.2

macHost:pygame-1.6.2 fooBar$ python -c "import pygame"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 64, in <module>
    from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): Symbol not found: _SDL_EnableUNICODE
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so
  Expected in: flat namespace
 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so

Can anyone fix this error please I need to get pygame run on my OSx mavericks !

Ciasto piekarz
  • 7,853
  • 18
  • 101
  • 197

0 Answers0