I'm pulling my hair out here. Snow Leopard just does not like pyglet!
Can anyone point me in the right direction? I have no idea what to
do about dlopen() errors.
Here's the pyglet error with the system python 2.6.1:
$ /usr/bin/python graphs.py
Traceback (most recent call last):
File "graphs.py", line 6, in <module>
from pyglet.gl import *
File "/Library/Python/2.5/site-packages/pyglet/gl/__init__.py", line
507, in <module>
import pyglet.window
File "/Library/Python/2.5/site-packages/pyglet/window/__init__.py",
line 1667, in <module>
from pyglet.window.carbon import CarbonPlatform, CarbonWindow
File "/Library/Python/2.5/site-packages/pyglet/window/carbon/__init__.py",
line 69, in <module>
framework='/System/Library/Frameworks/QuickTime.framework')
File "/Library/Python/2.5/site-packages/pyglet/lib.py", line 90, in
load_library
return self.load_framework(kwargs['framework'])
File "/Library/Python/2.5/site-packages/pyglet/lib.py", line 226, in
load_framework
lib = ctypes.cdll.LoadLibrary(realpath)
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
line 423, in LoadLibrary
return self._dlltype(name)
File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
line 345, 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: no matching
architecture in universal wrapper
/System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
architecture in universal wrapper
Here's the pyglet error with python 2.6.2 installed by macports:
$ /opt/local/bin/python2.6 graphs.py
Traceback (most recent call last):
File "graphs.py", line 6, in <module>
from pyglet.gl import *
File "/Library/Python/2.5/site-packages/pyglet/gl/__init__.py", line
507, in <module>
import pyglet.window
File "/Library/Python/2.5/site-packages/pyglet/window/__init__.py",
line 1667, in <module>
from pyglet.window.carbon import CarbonPlatform, CarbonWindow
File "/Library/Python/2.5/site-packages/pyglet/window/carbon/__init__.py",
line 69, in <module>
framework='/System/Library/Frameworks/QuickTime.framework')
File "/Library/Python/2.5/site-packages/pyglet/lib.py", line 90, in
load_library
return self.load_framework(kwargs['framework'])
File "/Library/Python/2.5/site-packages/pyglet/lib.py", line 226, in
load_framework
lib = ctypes.cdll.LoadLibrary(realpath)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/__init__.py",
line 431, in LoadLibrary
return self._dlltype(name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/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: no matching
architecture in universal wrapper
/System/Library/Frameworks/QuickTime.framework/QuickTime: no matching
architecture in universal wrapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---