Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python.net crashes with Python 3.13 and 3.14 #2489

Closed
@gusmanb

Description

@gusmanb

Environment

  • Pythonnet version: 3.0.4
  • Python version: 3.13 and 3.14 alpha
  • Operating System: Windows 11 64 bits
  • .NET Runtime: .net 8.0

Details

Trying to initialize pythonnet with Python 3.13 or higher crashes withMissingMethodException: Failed to load symbol _PyThreadState_UncheckedGet

voidInitialize(){Runtime.PythonDLL="path_to_dll";PythonEngine.Initialize();//crash}
  • StackTrace:
enPython.Runtime.Runtime.Delegates.get_Py_IsInitialized()   enPython.Runtime.Runtime.Py_IsInitialized()   enPython.Runtime.Runtime.<>c.<Initialize>b__32_0()   enPython.Runtime.Runtime.TryUsingDll[T](Func`1op)   enPython.Runtime.Runtime.Initialize(BooleaninitSigs)   enPython.Runtime.PythonEngine.Initialize(IEnumerable`1args,BooleansetSysArgv,BooleaninitSigs)en Python.Runtime.PythonEngine.Initialize(BooleansetSysArgv,BooleaninitSigs)en Python.Runtime.PythonEngine.Initialize()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp