ArkMowers / arknights-mower

《明日方舟》长草助手
https://arkmowers.github.io/arknights-mower/
MIT License
506 stars 53 forks source link

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

Open Kherrisan opened 5 months ago

Kherrisan commented 5 months ago

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

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 commented 5 months ago

请问是怎样安装 mower 的?

Kherrisan commented 5 months ago

从 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 commented 5 months ago

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

Kherrisan commented 4 months ago

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

ZhaoZuohong commented 4 months ago

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