“Delegates”的类型初始值设定项引发异常是什么原因呢

使用问题 · 37 次浏览
用户dEnLnmDMBAA 创建于 21天7小时前

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 _PyThreadState_UncheckedGet.
--Message: Failed to load symbol _PyThreadState_UncheckedGet.
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:

 


DaveBoy 21天7小时前 :

非动作问题,应该是quicker和python的问题,我这运行是正常的,这个报错不是动作的,属于quicker调用python

用户dEnLnmDMBAA 回复 DaveBoy 21天7小时前 :

感谢 之前用的2.7 改成3.12可以了

回复内容
暂无回复
回复主贴