Issue 461 in pyglet: Mac Python depends on 32-bit Carbon

16 views
Skip to first unread message

codesite...@google.com

unread,
Jan 3, 2010, 10:39:07 PM1/3/10
to pyglet...@googlegroups.com
Status: New
Owner: ----

New issue 461 by chinbillybilbo: Mac Python depends on 32-bit Carbon
http://code.google.com/p/pyglet/issues/detail?id=461

What steps will reproduce the problem?
1. Install pyglet on a Mac with OSX 10.6 (Snow Leopard).
2. import pyglet

Paste in the traceback or error message:
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

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):
Not a GL problem.

Any additional info (platform/language/hardware) that may be relevant?
The problem is referenced in this thread:
http://groups.google.com/group/pyglet-
users/browse_thread/thread/1cf9b8cff2d27d8b/e44be0c01a0d25bf?pli=1

Basically, Python 2.6 is 64 bit on Macs and pyglet depends on Carbon, which
is 32-bit. There is a
hack a to set Python to 32 bit mode, but then you end up getting conflicts
with other libraries
that you want to use in 64-bit mode (e.g. pymunk).


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 13, 2010, 1:08:49 AM3/13/10
to pyglet...@googlegroups.com
Updates:
Status: Accepted
Labels: OpSys-OSX

Comment #1 on issue 461 by chardster: Mac Python depends on 32-bit Carbon
http://code.google.com/p/pyglet/issues/detail?id=461

The effort to switch to Cocoa, and thereby resolve this problem, was
started quite a
while ago. It stagnated for a while but the progress is now in the
repository and is
therefore opened up to the community.

Reply all
Reply to author
Forward
0 new messages