Installing PyGame?

Eam onn letsplaysforu at gmail.com
Sat Jun 8 13:07:42 EDT 2013


On Saturday, June 8, 2013 5:41:40 PM UTC+1, Fábio Santos wrote:
> On 8 Jun 2013 17:17, "Eam onn" <letspl... at gmail.com> wrote:
> 
> > I keep getting an error in all my versions of IDLE. 
> 
> What error is that? Show us. Errors carry strong hints.
> 
> Also, are you following an install guide/tutorial? Which one?
> 
> Cheers

I'm not following a guide, but I have followed about 20 - No exaggeration. Here's the error I am getting:

ERROR 1: Terminal
--------

COMMAND: import pygame

  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
    from pygame.base 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


ERROR 2: IDLE (all versions)
--------

COMMAND: import pygame

Traceback (most recent call last):
    File "<pyshell#0>", line 1, in <module>
        import pygame
ImportError: No module named 'pygame'




Any idea as to what is going on? Terminal is V2.7.3 of Python.



More information about the Python-list mailing list