当我运行py2exe时程序会构建应用程序,但是当我在dist文件夹中运行可执行文件时,应用程序会出错并立即关闭,我甚至没有时间阅读它。有谁知道我做错了什么?
编辑:错误是
Traceback (most recent call last):
File "volex7.py", line 5, in <module>
File "OpenGL\GL\__init__.pyc", line3, in <module>
File "OpenGL\error.pyc", line 12, in <module>
File "OpenGL\platform\__init__.pyc", line 35, in <module>
File "OpenGL\platform\__init__.pyc", line 29 in _load
TypeError: 'NoneType' object is not callable