Closed
Description
Environment
- Pythonnet version:
2.0+
- Python version:
All 64bit
- Operating System:
All
Details
- Describe what you were trying to get done.
Get version of the Python Engine that is being used.
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Console.WriteLine(PythonEngine.Version);
Similarly running any of the examples below cause the issue:
Console.WriteLine(PythonEngine.Platform);
Console.WriteLine(PythonEngine.Copyright);
Console.WriteLine(PythonEngine.BuildInfo);
- If there was a crash, please include the traceback here.
at <unknown> <0xffffffff>
at (wrapper managed-to-native) object.__icall_wrapper_mono_marshal_free (intptr) <0x0005a>
at (wrapper managed-to-native) Python.Runtime.Runtime.Py_GetVersion () [0x00016] in <1917bac3e4ca4f5babb4aca06c43c2b3>:0
at Python.Runtime.PythonEngine.get_Version () [0x00000] in <1917bac3e4ca4f5babb4aca06c43c2b3>:0
at Python.EmbeddingTest.TestPythonEngineProperties.CheckVersion () [0x00006] in <bbfa33c504624963a44ed1aca531940e>:0
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0004c] in <f712f98eb8e445c8918edaf595bbe465>:0
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) [0x0000c] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00038] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0
at NUnit.Framework.Internal.Reflect.InvokeMethod (System.Reflection.MethodInfo,object,object[]) [0x00009] in <951ad176ccc7455b921ce376453f12cf>:0
Metadata
Metadata
Assignees
Labels
No labels