right,

i fixed it by changing the owner for all the files in the pyglet
folder to my own user excluding the *.pyc files ( they we're owned by
root, so i thought it was wise not to mess with them :) ) also
installed avbin-2, and all seems to work like a charm now.

but it still remains a mystery why pyglet was installed with another
user as owner. specially because i wasn't logged in as that user, in
fact that account had not been used for a while now. it is another
administrator account, so maybe that confused the install? and i think
i might need to change the rights for the pyglet folders and py files
because right now they're set to rwx-w----  and rw--w----
respectively. i think...

cheers,
hessel

On Jan 19, 2:17 pm, besttof <[EMAIL PROTECTED]> wrote:
> 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