Pythonnet version: 3.0.4 Python version: 3.11.2 Operating System: macOS (M1 Pro), linux (x86 and ARM).NET Runtime: 9.0 It seems that there is a compatibility issue with .NET 9 on macOS and Linux.