TypeInitializationException: “Delegates”的类型初始值设定项引发异常。 --TypeName: Delegates StackTrace: 在 Python.Runtime.Runtime.Delegates.get_Py_SetPythonHome() 在 Python.Runtime.Runtime.Py_SetPythonHome(IntPtr home) 在 Python.Runtime.Runtime.<>c__DisplayClass106_0.<TryUsingDll>b__0() 在 Python.Runtime.Runtime.TryUsingDll[T](Func`1 op) 在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.UpdatePythonPathInfo(String pythonHome) 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\BuildinRunners\Other\RunPythonScriptStep.cs:行号 138 在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.<>c__DisplayClass41_2.<Execute>b__1() 位置 D:\Work\Quicker\QuickerPc\Quicker\Actions\XActions\BuildinRunners\Other\RunPythonScriptStep.cs:行号 236 在 Quicker.Utilities.ThreadHelpers.<>c__DisplayClass3_0.<RunOnStaThreadAndWait>b__0() 位置 D:\Work\Quicker\QuickerPc\Quicker\Utilities\ThreadHelpers.cs:行号 91 在 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 PyThreadState_GetUnchecked. --Message: Failed to load symbol PyThreadState_GetUnchecked. 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: