On 18/08/2007, at 12:09 AM, Jack Nutting wrote:
> > I've tried installing both the egg with easy_install, and via the dmg, > and just get the following when I try to "import pyglet": > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > zipimport.ZipImportError: can't find module 'pyglet' > > I can see that it's put some stuff in /Library/Frameworks/ > Python.framework/Versions/2.5/lib/python2.5/site-packages : > > drwxrwxr-x 10 jnutting admin 340 Jun 27 14:01 pyglet > -rw-r--r-- 1 jnutting wheel 673319 Aug 17 15:49 > pyglet-1.0alpha1- > py2.5.egg > drwxrwxr-x 7 jnutting admin 238 Jun 27 14:01 > pyglet-1.0alpha1- > py2.5.egg-info > > Maybe it's just my brain seizing up. I haven't done much python for > the past couple years, I'm afraid. Any idea what I might be missing? Make sure you're running Python 2.5 (I believe Mac OS X's command- line default is 2.3 or 2.4). Then double-check that your site- packages path is as expected by printing out sys.path. I would advise against using the egg, especially in combination with the "normal" package. I am strongly considering not supplying eggs in the future. While trying to get things working, I suggest removing the .egg and .egg-info files so that the regular package can be discovered. By the way, an alpha2 release is coming in the next couple of days (this doesn't necessarily fix your issue, but maybe you want to wait before tackling it). Cheers Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
