Skip to content

System.Speech.Synthesis: Speech is not supported on this platform #2682

Description

@zacfromaustinpowder
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.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions