You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python.net crashes with Python 3.13 and 3.14 #2489
enPython.Runtime.Runtime.Delegates.get_Py_IsInitialized()
en Python.Runtime.Runtime.Py_IsInitialized()
en Python.Runtime.Runtime.<>c.<Initialize>b__32_0()
en Python.Runtime.Runtime.TryUsingDll[T](Func`1op)
en Python.Runtime.Runtime.Initialize(BooleaninitSigs)
en Python.Runtime.PythonEngine.Initialize(IEnumerable`1args,BooleansetSysArgv,BooleaninitSigs)en Python.Runtime.PythonEngine.Initialize(BooleansetSysArgv,BooleaninitSigs)en Python.Runtime.PythonEngine.Initialize()
Not yet. According to the meta info https://pypi.org/project/pythonnet/. Currently requires: Python <3.14, >=3.7.
I try on 3.14, it either fail at import step or addReference step in different Win11 machines.
3.13 works fine.
Activity
filmor commentedon Oct 23, 2024
Neither of those are supported, as documented.
gusmanb commentedon Oct 23, 2024
Sorry but, where is it documented? I can't find it in the wiki.
Also, are there any plans to support them?
chaojian-zhang commentedon Oct 30, 2024
I found it - Per https://pythonnet.github.io/: "Python.NET is currently compatible and tested with Python releases 3.7 - 3.11"
filmor commentedon Oct 30, 2024
Actually, 3.12 is supported, I have adjusted the homepage. The PR for 3.13 is #2454 but it's crashing on init right now.
gusmanb commentedon Oct 30, 2024
Thanks for the info.
jpactor commentedon Nov 15, 2025
Now over one year later: is 3.14 supported yet?
SciDaa commentedon Dec 1, 2025
Not yet. According to the meta info https://pypi.org/project/pythonnet/. Currently requires: Python <3.14, >=3.7.
I try on 3.14, it either fail at import step or addReference step in different Win11 machines.
3.13 works fine.