pyinstaller 打包失败
打包的exe,双击打开显示以下报错,有没有大神能告诉一下怎么解决,谢谢~~Failed to execute script'gui_server'dur to unhandled excepytion : initialization of clr did not return an extension module
Traceback (most recent call last):
File "gui_server.py", line 94, in <module>
File "webview\__init__.py", line 96, in start
File "webview\guilib.py", line 98, in initialize
File "webview\guilib.py", line 62, in try_import
File "webview\guilib.py", line 52, in import_winforms
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "webview\platforms\winforms.py", line 34, in <module>
SystemError: initialization of clr did not return an extension module 模块问题? 是没有打包完吗
或者相关文件没有关联到一起吧 小伤口 发表于 2021-9-23 13:01
是没有打包完吗
或者相关文件没有关联到一起吧
pyinstaller版本更新了一下,后来降到4.3,再打包exe就提示了“failed to execute script xxx” quechua128 发表于 2021-9-23 13:50
pyinstaller版本更新了一下,后来降到4.3,再打包exe就提示了“failed to execute script xxx”
要将所有的py文件都要打包 Traceback (most recent call last):
File "gui_server.py", line 94, in <module>
File "webview\__init__.py", line 96, in start
File "webview\guilib.py", line 98, in initialize
File "webview\guilib.py", line 62, in try_import
File "webview\guilib.py", line 52, in import_winforms
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
File "webview\platforms\winforms.py", line 34, in <module>
SystemError: initialization of clr did not return an extension module
Failed to execute script gui_server
页:
[1]