【发布时间】:2012-10-18 23:24:38
【问题描述】:
我有一个 wxPython 应用程序,我正在尝试使用 py2exe 将它制作成一个 exe,但我遇到了一些麻烦。我在与脚本相同的目录中有MSVCP90.dll,在 py2exe 完成后,它在启动 exe 时显示“程序无法启动,因为缺少 MSVCR90.dll...”。为什么找不到呢?
虽然它是 py2exe'ing,但我还得到以下信息:
The following modules appear to be missing
['Carbon', 'Carbon.Files']
...
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.
...
OLEAUT32.dll - C:\PATH
USER32.dll - C:\PATH
...
MSVCP90.dll - C:\PathToTheDllInMyScriptsFolder
这里有什么我遗漏的吗?将 .py wxPython 应用程序转换为 .exe wxPython 应用程序有多难?
【问题讨论】:
标签: python dll wxpython py2exe