Skip to content

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

@zacfromaustinpowder

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.

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