Skip to content

在windows 11 24H2 (内部版本26120.6982)中使用release 2.2 windows版时出现问题 #11

@kambaLang

Description

@kambaLang

完整日志:

[2025-11-10 10:45:37 INFO 后端] 几何计算器,启动!版本:2.2.0
[2025-11-10 10:45:37 ERROR 后端] Traceback (most recent call last):
  File "D:\GeometryCalculator\main.py", line 11, in <module>
  File "D:\GeometryCalculator\webview\__init__.py", line 222, in start
  File "D:\GeometryCalculator\webview\guilib.py", line 134, in initialize
  File "D:\GeometryCalculator\webview\guilib.py", line 83, in try_import
  File "D:\GeometryCalculator\webview\guilib.py", line 72, in import_winforms
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "D:\GeometryCalculator\webview\platforms\winforms.py", line 13, in <module webview.platforms.winforms>
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "D:\GeometryCalculator\clr.py", line 6, in <module clr>
  File "D:\GeometryCalculator\pythonnet\__init__.py", line 143, in load
  File "D:\GeometryCalculator\clr_loader\types.py", line 94, in get_function
  File "D:\GeometryCalculator\clr_loader\types.py", line 58, in __init__
  File "D:\GeometryCalculator\clr_loader\netfx.py", line 49, in _get_callable
RuntimeError: Failed to resolve Python.Runtime.Loader.Initialize from D:\GeometryCalculator\pythonnet\runtime\Python.Runtime.dll

在完整下载校验通过后,运行报错,release2.2是否可能存在打包问题?
After a complete download and successful verification, the runtime reports an error. Could there be a packaging issue with release 2.2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions