过程入口点终止无法位于动态链接库中

时间:2017-10-30 11:13:20

标签: python python-3.x cx-freeze

我在Python 3.6.2 (32位)中编写了一个程序,我使用.exe将其转换为cx_freeze文件。

当我在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

如何解决?

1 个答案:

答案 0 :(得分:0)

请参阅Pyinstaller onefile does not start on some Windows 7 machines

解决方法似乎是