Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows11 下无法打开程序界面 #536

Open
Kherrisan opened this issue Apr 4, 2024 · 5 comments
Open

Windows11 下无法打开程序界面 #536

Kherrisan opened this issue Apr 4, 2024 · 5 comments

Comments

@Kherrisan
Copy link

程序在任务栏有小图标,但是无法显示程序界面,报错如下:

Traceback (most recent call last):
File "toolbox.py", line 103, in
File "webview_init_.py", line 155, in start
File "webview\guilib.py", line 119, in initialize
File "webview\guilib.py", line 71, in try_import
File "webview\guilib.py", line 60, in import_winforms
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "webview\platforms\winforms.py", line 12, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "clr.py", line 6, in
File "pythonnet_init
.py", line 143, in load
File "clr_loader\types.py", line 94, in get_function
File "clr_loader\types.py", line 58, in init
File "clr_loader\netfx.py", line 47, in _get_callable
RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\Users\zdk\mower_internal\pythonnet\runtime\Python.Runtime.dll

@ZhaoZuohong
Copy link
Contributor

请问是怎样安装 mower 的?

@Kherrisan
Copy link
Author

从 github release 下载 v3.4.4 的 zip,然后找了一个目录解压的。

顺便,因为目录名称好像被 github 转义错了,我重新贴一下:RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from C:\Users\zdk\mower\_internal\pythonnet\runtime\Python.Runtime.dll

@ZhaoZuohong
Copy link
Contributor

试一下更新器(源码可执行程序)?更新器会自动安装所需依赖。

@Kherrisan
Copy link
Author

用更新器完成更新之后(4/14的版本),又出现新的错误:
报错截图

@ZhaoZuohong
Copy link
Contributor

我不用 Windows,无法提供更多帮助。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants