okay to answer my own question: It's a bug with Enthought python's search 
path, which you can rectify as so:

import os
os.environ['DYLD_FALLBACK_LIBRARY_PATH'] = '/lib:/usr/lib:/usr/bin/lib:/' + 
os.environ['DYLD_FALLBACK_LIBRARY_PATH'];

import pyglet



On Saturday, 25 January 2014 19:00:03 UTC, Richard wrote:
>
> Hi
>
> Please can someone tell me where to find the library 'c' I'm trying to run 
> pyglet 1.2α on Mac OS 10.8.5 with Enthought Canopy Python. 
> There's an issue in which the 'c' library cannot be found. Which library 
> is that, which package does it come from?
> I've attached a stack trace of the error I get when trying to create a 
> window.
>
> Any hints and tips on how to get pyglet running greatly appreciated
>
> Regards
>
>
> Richard
>
> Enthought Canopy Python 2.7.3 | 64-bit | (default, Mar 25 2013, 15:52:02) 
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyglet
> >>> w = pyglet.window.Window()
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "pyglet/__init__.py", line 347, in __getattr__
>     __import__(import_name)
>   File "pyglet/window/__init__.py", line 1817, in <module>
>     gl._create_shadow_window()
>   File "pyglet/gl/__init__.py", line 205, in _create_shadow_window
>     _shadow_window = Window(width=1, height=1, visible=False)
>   File "pyglet/window/__init__.py", line 494, in __init__
>     display = get_platform().get_default_display()
>   File "pyglet/window/__init__.py", line 1766, in get_default_display
>     return pyglet.canvas.get_display()
>   File "pyglet/canvas/__init__.py", line 77, in get_display
>     from pyglet.app import displays
>   File "pyglet/app/__init__.py", line 176, in <module>
>     event_loop = EventLoop()
>   File "pyglet/app/base.py", line 116, in __init__
>     self.clock = clock.get_default()
>   File "pyglet/__init__.py", line 347, in __getattr__
>     __import__(import_name)
>   File "pyglet/clock.py", line 168, in <module>
>     _c = pyglet.lib.load_library('c')
>   File "pyglet/lib.py", line 142, in load_library
>     raise ImportError('Library "%s" not found.' % names[0])
> ImportError: Library "c" not found.
> >>> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to