Type "copyright", "credits" or "license" for more information.
>>> import pygame
If you can import pygame without problems, then skip to the next section.
But if you get an error, then PyGame is not working as it should.
Here's an example of a PyGame error::
ImportError Traceback (most recent call last)
<ipython-input-1-4a415d16fbed> in <module>()
----> 1 import pygame
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py in <module>()
93
94 #first, the "required" modules
---> 95 from pygame.base import *
96 from pygame.constants import *
97 from pygame.version import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): Symbol not found: _SDL_EnableUNICODE
in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so
And here is another example of a PyGame error::
ImportError Traceback (most recent call last)
<ipython-input-1-4a415d16fbed> in <module>()
----> 1 import pygame
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py in <module>()
93
94 #first, the "required" modules
---> 95 from pygame.base import *
96 from pygame.constants import *
97 from pygame.version import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper
The easiest way to resolve these PyGame import errors is:
1. Delete the ``pygame`` package. (For example, if you get the error above,