The default setup.py does not support python version 2.7 (installed version on my pc is stock python 2.7.2, windows 7 64-bit).
SOLUTION:
In setup.py file line 42 remove DistutilsOptionError and then add the following line
from distutils.errors import DistutilsOptionError
WARNING:
comtypes is installed after the changes above. I haven't tested it though!
Hello, I've just noticed that theller has commited this same solution to the trunk (revision 576, April 2011). The commit is referencing some issue "SF #3036369" in the comments, so this seems to be a duplicate, though I couldn't find such ticket in Sourceforge. Anyway, this bug report should better be closed. I've tested on my AMD64 Windows 7 and it is working fine with Python 2.7.2 (at least I'm able to run pyjamas examples).
Is this why pip and easy_install fail?
Looks like this is fixed, setup.py doesn't include the problematic DistutilsOptionError, and works for Python 2.7. This ticket can be closed.