使用pyinstaller进行python编译失败[ImportError:DLL加载失败]

时间:2017-12-16 16:16:28

标签: python pyinstaller

我用pyinstaller编译了这个project ,但是当我运行一个exe文件时,我收到了这个错误

C:\Users\lik47\Desktop\LaZagne-master\Windows\dist>laZagne.exe
Traceback (most recent call last):
File "laZagne.py", line 4, in 
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module
exec(bytecode, module.dict)
File "lazagne\softwares\browsers\mozilla.py", line 13, in 
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module
exec(bytecode, module.dict)
File "build\bdist.win32\egg\Crypto\Cipher\DES3.py", line 67, in 
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module
exec(bytecode, module.dict)
File "build\bdist.win32\egg\Crypto\Cipher_DES3.py", line 7, in 
File "build\bdist.win32\egg\Crypto\Cipher_DES3.py", line 6, in bootstrap
ImportError: DLL load failed: ═х эрщфхэ єърчрээ√щ ьюфєы№.
[1184] Failed to execute script laZagne

在Windows 10 x64上运行

没有编译的

(仅来自python脚本)它可以正常工作

0 个答案:

没有答案