【发布时间】:2017-10-30 11:13:20
【问题描述】:
我用 Python 3.6.2 (32 位) 编写了一个程序,我使用cx_freeze 将其转换为.exe 文件。
当我在 Windows 8 (64 位) 中运行它时,它需要项目中的以下 DLL:
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-process-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-conio-l1-1-0.dll
当我添加api-ms-win-crt-filesystem-l1-1-0.dll 并运行项目时,我得到了错误:
The procedure entry point terminate could not be located in dynamic link library.
C:\users\seyed_vahid\Desktop\exe.win32-3.6\MegaGram.exe
如何解决?
【问题讨论】:
标签: python python-3.x cx-freeze