kot*_*owy 9 windows pyinstaller
我创建了一个exe文件,在某些Windows机器上工作正常,在其他机器上运行失败.
我还没找到失败的原因.
重要数据:
DEBUG显示以下内容:
C:\temp\r>mytool_debug.exe
PyInstaller Bootloader 3.x
LOADER: executable is C:\temp\r\mytool_debug.exe
LOADER: homepath is C:\temp\r
LOADER: _MEIPASS2 is NULL
LOADER: archivename is C:\temp\r\mytool_debug.exe
LOADER: Extracting binaries
LOADER: Executing self as child
LOADER: set _MEIPASS2 to C:\temp\_MEI55762
LOADER: Setting up to run child
LOADER: Creating child process
LOADER: Waiting for child process to finish...
PyInstaller Bootloader 3.x
LOADER: executable is C:\temp\r\mytool_debug.exe
LOADER: homepath is C:\temp\r
LOADER: _MEIPASS2 is C:\temp\_MEI55762
LOADER: archivename is C:\temp\r\mytool_debug.exe
LOADER: SetDllDirectory(C:\temp\_MEI55762)
LOADER: Already in the child - running user's code.
LOADER: manifestpath: C:\temp\_MEI55762\mytool.exe.manifest
LOADER: Activation context created
LOADER: Activation context activated
LOADER: Python library: C:\temp\_MEI55762\python35.dll
Error loading Python DLL: C:\temp\_MEI55762\python35.dll (error code 127)
LOADER: Back to parent (RC: -1)
LOADER: Doing cleanup
LOADER: Freeing archive status for C:\temp\r\mytool_debug.exe
Run Code Online (Sandbox Code Playgroud)
窗口中还显示错误消息:
Entry Point Not Found
The procedure entry point ucrtbase.terminate could not be located in the dynamic link library api-ms-win-crt-runtime-l1-1-0.dll
Run Code Online (Sandbox Code Playgroud)
当我将所有文件从C:\ temp_MEI55762(引导程序已解压缩所有文件)复制到目录C:\ temp\r \n(mytool_debug.exe所在的目录)并执行mytool_debug.exe时,它可以正常工作.
正如所说的mytool.exe在其他Windows 7/8计算机上运行良好.由于上述错误,我找到了2台计算机.
我应该从哪里开始搜索?
| 归档时间: |
|
| 查看次数: |
14407 次 |
| 最近记录: |