On Dec 9, 2007 12:21 PM, Shu Ning Bian <[EMAIL PROTECTED]> wrote:
>
> For this beta release I decided to scrap my tiger python install and
> use the leopard python. So I rm -rf'd /Library/Frameworks/
> Python.framework, modified my path so I am using /usr/bin/python, then
> did a pyglet install using the .dmg. Pyglet correctly installed into /
> System/Library/Frameworks/Python.framework/Versions/Current/lib/
> python2.5/site-packages/pyglet but when I try to import any of the
> pyglet modules I get a module not found.
>
> A close inspection of python paths reveal that site-packages for
> leopard python is in /Library/Python/2.5/site-packages . I did the
> following:

I presume you mean /Library/Frameworks/Python.framework/..., not
/Library/Python/...

>
>   ln -s /System/Library/Frameworks/Python.framework/Versions/Current/
> lib/python2.5/site-packages/pyglet ./
>
> in /Library/Python/2.5/site-packages and it solved the problem.

But you said you deleted this directory?

> Perhaps the installed needs 1 more tweak?

I am quite sure that /System/Library/Frameworks/Python.framework is
the Leopard Python, and /Library/Frameworks/Python.framework is the
python.org Python.  It's possible that your /usr/bin/python is not the
Leopard Python binary (or symlink).

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