News for hackers. Stuff that matters.
Re:Simple Minecraft Clone in 580 lines of Python by scottrogowski on Friday March 29, 2013 @04:25AM (#5459775)
I got it to work on OSX 10.8!

slunk's suggestion:

`arch -i386 python main.py`

got me halfway there

You also have to run it with python 2.6 like so:

`arch -i386 /usr/bin/python2.6 main.py`

If you only have pyglet for 2.7, you will have to install it for 2.6. Installing packages in python for 2.6 will require pip-2.6 which you get like this:

`sudo easy_install-2.6 pip`

then

`pip-2.6 install pyglet`

Walla!

Re:Simple Minecraft Clone in 580 lines of Python by Alphasite_ on Friday March 29, 2013 @06:41PM (#5463410)
Another option is to use a version of Pyglet from the main repository on googlecode. Thats been updated to avoid the Avbin problems and add OSX 64 bit support.
Re:Simple Minecraft Clone in 580 lines of Python by huskyr on Friday March 29, 2013 @05:41AM (#5459909)
I needed to run the last command as sudo:

sudo pip-2.6 install pyglet

After that it worked perfectly. Thanks!

Re:Simple Minecraft Clone in 580 lines of Python by oms1005 on Friday March 29, 2013 @08:37PM (#5463829)
That worked great for me, thanks!