phreeza / cells

a game where players programm agents that compete for resources in a simulated environment
http://phonons.wordpress.com/2010/06/01/cells-a-massively-multi-agent-python-programming-game/
MIT License
222 stars 42 forks source link

SyntaxError reading commandline arguments #12

Closed CaseyBurns closed 14 years ago

CaseyBurns commented 14 years ago

I get this error, I suspect I don't have everything set up correctly.

File "C:\Python31\cells\phreeza-cells-2b942c0\cells.py", line 49 print 'Got error: %s' % e ^ SyntaxError: invalid syntax

swolchok commented 14 years ago

It looks like you're using Python 3.1. Python 3 is incompatible with Python 2, for which this game is written.

CaseyBurns commented 14 years ago

Installing Python 2.6.5 fix this issue. Thank you!