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

报错信息

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.ENxn8a251Cr()
   在 VjPExZJrNprphrbpOax.xYv3pJJLHIuSCprhjku.<>c__DisplayClass3_0.EcBnKQuylu5()
   在 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.12_3.12.1264.0_x64__qbz5n2kfra8p0\python312.dll.
StackTrace:
   在 Python.Runtime.Platform.WindowsLoader.Load(String dllToLoad)
   在 Python.Runtime.Runtime.Delegates..cctor()

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


 

解决方法

暂无解决方案。

相关信息
3 查看
4小时3分钟前
Quicker版本
版本 反馈次数
1.43.8 1
1.43.0 1
1.42.32 1