Exception:“Delegates”的类型初始值设定项引发异常。Failed to load symbol Py_IncRef.找不到指定的程序。

报错信息 1
TypeInitializationException: “Delegates”的类型初始值设定项引发异常。
--TypeName: Delegates
StackTrace:
   在 Python.Runtime.Runtime.Delegates.get_Py_IsInitialized()
   在 Python.Runtime.Runtime.Py_IsInitialized()
   在 Python.Runtime.Runtime.<>c.<Initialize>b__32_0()
   在 Python.Runtime.Runtime.TryUsingDll[T](Func`1 op)
   在 Python.Runtime.Runtime.Initialize(Boolean initSigs)
   在 Python.Runtime.PythonEngine.Initialize(IEnumerable`1 args, Boolean setSysArgv, Boolean initSigs)
   在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.<>c__DisplayClass39_1.wgF122fjYFh()
   在 BFWEL6tHPdKfwdJEX9q.knSNoKtFFFIbGQ03GRb.<>c__DisplayClass3_0.ES71ylqrrle()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

MissingMethodException: Failed to load symbol Py_IncRef.
--Message: Failed to load symbol Py_IncRef.
StackTrace:
   在 Python.Runtime.Platform.WindowsLoader.GetFunction(IntPtr hModule, String procedureName)
   在 Python.Runtime.Runtime.Delegates.GetFunctionByName(String functionName, IntPtr libraryHandle)
   在 Python.Runtime.Runtime.Delegates..cctor()

Win32Exception: 找不到指定的程序。
--NativeErrorCode: 127
StackTrace:


版本:1.42.24 2024-06-30 01:48 Microsoft Windows NT 10.0.19045.0