Exception:“Delegates”的类型初始值设定项引发异常。Could not load C:\Users\a1137\AppData\Local\Microsoft\WindowsApps\python.exe.系统无法访问此文件。

报错信息 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.iCtUissysIf()
   在 e85UAoJqa9Tljrpholt.kTgAVVJOpIX14ihRaaV.<>c__DisplayClass3_0.SkfUH4fxIOM()
   在 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:\Users\a1137\AppData\Local\Microsoft\WindowsApps\python.exe.
StackTrace:
   在 Python.Runtime.Platform.WindowsLoader.Load(String dllToLoad)
   在 Python.Runtime.Runtime.Delegates..cctor()

Win32Exception: 系统无法访问此文件。
--NativeErrorCode: 1920
StackTrace:


版本:1.42.33 2024-04-26 18:22 Microsoft Windows NT 10.0.22000.0