【发布时间】:2016-01-01 23:43:59
【问题描述】:
我使用 pygame (python2.7) 创建了一个游戏,并尝试使用 py2exe 对其进行转换。
这些是我使用的模块: pygame,Tkinter,随机 这是我的“setup.py”:
from distutils.core import setup
import py2exe
setup(options={
"py2exe":{
"includes": ["Tkinter","pygame","random"]
}
}
)
当我尝试运行 .exe 文件时出现此错误:
NotImplementedError: font module not avaible
(ImportError: DLL load failed: module couldn't be found
我需要改变什么?
【问题讨论】:
-
游戏运行正常,但未转换
标签: python-2.7 pygame