Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #47418

Re: Installing PyGame?

Message-ID <51B3B57C.4020208@iinet.net.au> (permalink)
Date 2013-06-09 08:51 +1000
From Neil Hodgson <nhodgson@iinet.net.au>
Newsgroups comp.lang.python
Subject Re: Installing PyGame?
References <5c069831-8cab-43da-a4f9-ccec68cdc101@googlegroups.com> <mailman.2888.1370709708.3114.python-list@python.org> <44636430-af69-4162-adab-8f595da3cdd7@googlegroups.com>

Show all headers | View raw


Eam onn:

> 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

    This is saying that the version of Python you are using is a 
different architecture to the installed pygame library. This could be 
because you are using a 64-bit version of Python with a 32-bit library 
or vice-versa. Or you have a PowerPC library and Python is compiled for 
Intel processors.

    In Terminal, you can find the architecture of files with "otool -vh" 
followed by the file name. So try (on one line)

otool -vh 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so

    And the same with Python, first finding where Python is with
whereis python

    Then post all of the output text, not just your interpretation.

    Neil

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Installing PyGame? Eam onn <letsplaysforu@gmail.com> - 2013-06-08 09:07 -0700
  Re: Installing PyGame? Fábio Santos <fabiosantosart@gmail.com> - 2013-06-08 17:41 +0100
    Re: Installing PyGame? Eam onn <letsplaysforu@gmail.com> - 2013-06-08 10:07 -0700
      Re: Installing PyGame? cclauss@bluewin.ch - 2013-06-08 10:58 -0700
        Re: Installing PyGame? Eam onn <letsplaysforu@gmail.com> - 2013-06-08 11:05 -0700
          Re: Installing PyGame? Eam onn <letsplaysforu@gmail.com> - 2013-06-08 11:07 -0700
            Re: Installing PyGame? Fábio Santos <fabiosantosart@gmail.com> - 2013-06-08 20:12 +0100
            Re: Installing PyGame? cclauss@bluewin.ch - 2013-06-08 12:23 -0700
          Re: Installing PyGame? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-08 15:10 -0400
          Re: Installing PyGame? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-08 16:17 -0400
      Re: Installing PyGame? Neil Hodgson <nhodgson@iinet.net.au> - 2013-06-09 08:51 +1000

csiph-web