Exception:“Delegates”的类型初始值设定项引发异常。Could not load C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\python3.dll.拒绝访问。

报错信息 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.HJtBV47u2sC()
   在 Bk9lBLffUUmAiuo23Sr.z3cnggfBHtmlZMIwQXX.<>c__DisplayClass3_0.gFPBzfUSQHr()
   在 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()

DllNotFoundException: Could not load C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\python3.dll.
StackTrace:
   在 Python.Runtime.Platform.WindowsLoader.Load(String dllToLoad)
   在 Python.Runtime.Runtime.Delegates..cctor()

Win32Exception: 拒绝访问。
--NativeErrorCode: 5
StackTrace:


版本:1.43.19 2024-09-12 22:39 Microsoft Windows NT 10.0.22621.0