import sys
sys.path.append("../bin/Debug/net10.0/");
from pythonnet import load
load("coreclr")
import clr
clr.AddReference("System.Speech")
from System.Speech.Synthesis import SpeechSynthesizer
s = SpeechSynthesizer()
s.Speak("Hello World")
Running the equivalent C# code works fine, but running this Python code gives me the error Speech is not supported on this platform.