[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] PYgame Help 1.9.1 please please please



Thank you for being so helpful. I finally got it to work with macports. Anyway thanks again for helping me,


-Zack


On Nov 8, 2011, at 1:28 AM, Renà Dudfield <renesd@xxxxxxxxx> wrote:

Hi,

eek.

Maybe that install does not have a 32bit architecture or 64bit architecture in there.

To tell what architectures are compile in... In a Terminal, are you able to run this command for me?
lipo /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so

I also wonder what your processor is.   Got to top left of screen... ï -> 'About this mac', then copy the processor line.
Something like "Processor 2.33 GHz Intel Core 2 Duo".

regards,


On Mon, Nov 7, 2011 at 11:20 PM, Zack Baker <zbaker1398@xxxxxxxxx> wrote:
	For starters, I am a newish python programmer, far enough along to have my feet wet.  Running Mac OSX Lion (10.7), and python 2.7.2.  I am trying to expand my knowledge and use some packages outside of the base python library.  
	Games are interesting so I decided I'd try pygame after reading many good things about it.  Now I have been to the site and downloaded the install package for OSX Lion, and run it successfully.  But when I try to run the example on the site (line by line chimp example) I get this error message:

	Traceback (most recent call last):
  File "/private/var/folders/j4/10dtxgh14hl6vdvzzhbbqzdc0000gn/T/Cleanup At Startup/untitled text 4-337832000.071", line 11, in <module>
    import os, pygame
  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


The program hasn't even made it anywhere else in the code, and I really don't understand what the problem is.  Help would be much appreciated, thank you all