Saturday, 10 September 2022

Python bindings for speech dispatcher fail on import (no module named speech)

I am attempting to use a program that has the Python API to speech dispatcher as a dependency. The code fails on the line that imports the speech dispatcher Python interface:

import speechd

I am on Ubuntu 20 LTS, and have the speech dispatcher package installed, as well as python3-speechd. When using the python3 REPL, import speechd fails with module not found.

How can I successfully get Python to recognize the bindings for speech dispatcher?



from Python bindings for speech dispatcher fail on import (no module named speech)

No comments:

Post a Comment