kmonsoor / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Error when importing: "mach-o, but wrong architecture" on OS X #640

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Pyglet with easy_install from the 1.1.4 tarball 
2. import pyglet.gl

Paste in the traceback or error message:

>>> import pyglet.gl
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "pyglet/gl/__init__.py", line 510, in <module>
    import pyglet.window
  File "pyglet/window/__init__.py", line 1669, in <module>
    from pyglet.window.carbon import CarbonPlatform, CarbonWindow
  File "pyglet/window/carbon/__init__.py", line 69, in <module>
    framework='/System/Library/Frameworks/QuickTime.framework')
  File "pyglet/lib.py", line 90, in load_library
    return self.load_framework(kwargs['framework'])
  File "pyglet/lib.py", line 226, in load_framework
    lib = ctypes.cdll.LoadLibrary(realpath)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 431, in LoadLibrary
    return self._dlltype(name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime, 6): 
no suitable image found.  Did find:
    /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture
    /System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but wrong architecture

pyglet 1.1 with Python 2.5: Paste in the output of `python -m pyglet.info`
Other: Paste in the output of tools/gl_info.py (included in source distro):

I do not seem to have that file in my tool/ folder 

Any additional info (platform/language/hardware) that may be relevant?

OS X Mountain Lion, Python 2.7.2, 

Original issue reported on code.google.com by Christop...@gmail.com on 29 Mar 2013 at 10:00

GoogleCodeExporter commented 9 years ago
Duplicate: http://code.google.com/p/pyglet/issues/detail?id=438

Original comment by EmilStenstrom on 10 Apr 2013 at 10:20

GoogleCodeExporter commented 9 years ago
This was fixed, see issue pointed by #1.

Please download latest version from the repository:

http://pyglet.googlecode.com/archive/tip.zip

Original comment by useboxnet on 6 Oct 2013 at 7:55