在windows环境下如果出现这个错误 simply comment out the line where you specify the PYOPENGL_PLATFORM. 找到含有这个关键字的位置 屏蔽掉就行了