Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PythonEngine.Shutdown() Crash #2107

Closed
Closed
@nlogozzo

Description

@nlogozzo

Environment

  • Pythonnet version: 3.0.1
  • Python version: 3.7.3
  • Operating System: Windows 11 (Same happens when running on WSL - Ubuntu)
  • .NET Runtime: .NET 7

Details

Calling Python.Runtime.PythonEngine.Shutdown(); results in the error:

System.NotSupportedException: 'BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions