I am on MacOSX 10.8.5 and this answer worked for me. After editing def setupInclusion(self):
, I ran $ python setup.py install
and was successful.
However, if you are on Linux instead, then check to see if you installed the JRE instead of the JDK. See this answer for more details.