right, i drew my conclusions too soon.

trying to import pyglet from any other directory will cause an:

ImportError: No module named pyglet

i tried to use set the PYTHONPATH as well but without any success:
$ set PYTHONPATH /Library/Python/2.5/site-packages/pyglet/:$PYTHONPATH
$ export PYTHONPATH

it seems that pyglet was installed in:
/Library/Python/2.5/site-packages/pyglet/

there's also a pyglet-1.0-py2.5.egg-info file in the /Library/Python/
2.5/site-packages/ directory

like i said, it has been ages since i did anything at all with python,
and what i did was on windows, so i don't know if this is normal, but
the pyglet folder is forbidden for me. actually it seems that the
pyglet folder owner is not the root nor my own account, but another
account on this mac. odd.

cheers,
hessel

On Jan 19, 5:01 am, "Alex Holkner" <[EMAIL PROTECTED]> wrote:
> On Jan 19, 2008 2:28 PM, besttof <[EMAIL PROTECTED]> wrote:
>
>
>
> > mh, i don't think my distribution of python is all that special. or,
> > maybe, i somehow have python 2.3 and python 2.5 installed ( i suspect
> > that the 2.3 came along with the migration assistant from my old tiger
> > laptop )
>
> > anyway, this is what python says:
> > >>> import pyglet
> > >>> pyglet.__file__
> > 'pyglet/__init__.pyc'
>
> > any use?
>
> This is using the pyglet distribution directly in your current working
> directory; I was interested in the installed copy (i.e., move to a
> different directory first).
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to