You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Moect 1.3.1 Windows 11 启动失败:Python.Runtime.Loader.Initialize #23
你好Mofan,我下载的就是1.3.3版本,也是出现了这个问题。我的电脑版本是window10,微信版本是4.2.1.10。
报错如下:
Failed to execute script 'edge_app'due to unhandled
exception: Failed to resolve
Python.Runtime.Loader.Initialize from D:\应用
Moect-1.3.3-Windows-x64\Moect\internal\pythonnet\runt
Traceback (most recent call last):
File "edge_app.py", line 168, in
File "edge_app.py", line 163, in main
File "webview_init_.py", line 245, in start
guilib = initialize(gui)
^^^^^^^^^^^^^^^
File "webview\guilib.py", line 134, in initialize
if not try_import(guis):
^^^^^^^^^^^^^^^^
File "webview\guilib.py", line 85, in try_import
if import_func():
^^^^^^^^^^^^^
File "webview\guilib.py", line 74, in import_winforms
import webview.platforms.winforms as guilib
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "webview\platforms\winforms.py", line 12, in
import clr
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "clr.py", line 6, in
File "pythonnet_init.py", line 143, in load
func = assembly.get_function("Python.Runtime.Loader.Initialize")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "clr_loader\types.py", line 95, in get_function
return ClrFunction(self._runtime, self._path, name, func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "clr_loader\types.py", line 59, in init
self._callable = runtime._get_callable(assembly, typename, func_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "clr_loader\netfx.py", line 47, in _get_callable
raise RuntimeError(
RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from D:\应用\Moect-1.3.3-Windows-x64\Moect_internal\pythonnet\runtime\Python.Runtime.dll
供参考。
Activity
mofan6 commentedon Dec 3, 2026
你可以先试一下最新版 1.3.3 的 Windows 安装版。如果装完还是打不开,或者连不上你现在的微信版本,麻烦把新版的报错贴一下,我再看看。
定时自动导出和在 Moect 里接入 AI,我暂时都没有计划。目前可以手动把指定会话导出成 TXT 或 JSON,再用自己习惯的工具处理。
Miranda577 commentedon Dec 3, 2026
你好Mofan,我下载的就是1.3.3版本,也是出现了这个问题。我的电脑版本是window10,微信版本是4.2.1.10。

报错如下:
Failed to execute script 'edge_app'due to unhandled
exception: Failed to resolve
Python.Runtime.Loader.Initialize from D:\应用
Moect-1.3.3-Windows-x64\Moect\internal\pythonnet\runt
Traceback (most recent call last):
File "edge_app.py", line 168, in
File "edge_app.py", line 163, in main
File "webview_init_.py", line 245, in start
guilib = initialize(gui)
^^^^^^^^^^^^^^^
File "webview\guilib.py", line 134, in initialize
if not try_import(guis):
^^^^^^^^^^^^^^^^
File "webview\guilib.py", line 85, in try_import
if import_func():
^^^^^^^^^^^^^
File "webview\guilib.py", line 74, in import_winforms
import webview.platforms.winforms as guilib
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "webview\platforms\winforms.py", line 12, in
import clr
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "clr.py", line 6, in
File "pythonnet_init.py", line 143, in load
func = assembly.get_function("Python.Runtime.Loader.Initialize")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "clr_loader\types.py", line 95, in get_function
return ClrFunction(self._runtime, self._path, name, func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "clr_loader\types.py", line 59, in init
self._callable = runtime._get_callable(assembly, typename, func_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "clr_loader\netfx.py", line 47, in _get_callable
raise RuntimeError(
RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from D:\应用\Moect-1.3.3-Windows-x64\Moect_internal\pythonnet\runtime\Python.Runtime.dll
供参考。
mofan6 commentedon Dec 3, 2026
@denlindeman7-oss 我这边模拟了 Windows 给下载文件加来源标记的情况,1.3.3 便携版也报了同样的错。你可以用 1.3.3 的官方 ZIP 试一下。右键 ZIP 打开「属性」,如果底部有「解除锁定」,就勾上并应用,再解压到一个新文件夹运行
Moect.exe。要是还是打不开,麻烦告诉我 ZIP 属性里有没有这一项,以及 1.3.3 安装版能不能打开。1.3.3 下载页
mofan6 commentedon Dec 3, 2026
@Miranda577 你贴的堆栈帮我定位到了,程序是在加载
Python.Runtime.dll时退出的。我在本机给这个 DLL 加上 Windows 的下载标记后,也复现了同一个错误。你先看一下原 ZIP 的「属性」里有没有「解除锁定」。有的话勾上并应用,再解压到一个新文件夹试试。如果还是打不开,麻烦看看
_internal\pythonnet\runtime\Python.Runtime.dll在不在,也说一下 1.3.3 安装版能不能打开。