Skip to content

PythonEngine.Shutdown() Crash #2107

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.'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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