Ok, that problem was solved. It turns out the way the disclaimer is commented affects the program, causing the error. The disclaimer comments have #******** which causes this problem. I did however have another error. I can still run the program, but I don't know why I'm getting this error.
Code:
before Font::Glyph::subload(): detected OpenGL error '
invalid enumerant
Traceback (most recent call last):
File "demo.py", line 152, in onkeydown
SelectEnv(showFuncs[int(key)-1], optsFuncs[int(key)-1])
IndexError: list index out of range