On Tue, Aug 28, 2012 at 5:23 PM, Travis Griggs <[email protected]>wrote:
> Relatively new to python (been learning over the last 2 months). I thought > pyglet looked cool and wanted to try it out. I'm using pycharm, it points > at python 2.7 on my 10.8 OSX box. So I downloaded the mpkg and installed > it. And then created a new project in pycharm, typed in the code from the > helloworld example ( > http://www.pyglet.org/doc/programming_guide/hello_world.html). Attempted > to run it, but it complained: > > import pyglet > ImportError: No module named pyglet > > Doing a file system search for pyglet files, I see lots of references to > python2.6 and python2.5. Am I just out of luck? Or is there some other > trick I should use to be able to give pyglet a go? > > TIA > > Hmm, sent six days ago, but I didn't see it until today. Was this email stuck in moderation or something? Anyway, here's a method to get the latest development version that would probably sidestep any problems you're having with the older version(s): 1) Download mercurial from http://mercurial.selenic.com/ and install it. 2) Clone the pyglet repository by opening up a terminal and running: hg clone https://pyglet.googlecode.com/hg/ pyglet 3) Go into the pyglet directory and install it (type in your password when prompted and press enter): cd pyglet && sudo python setup.py install Then you should be able to fire up python and see pyglet normally. ~ Nathan -- 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.
