Closed ItsDrike closed 4 years ago
Can u install espeak?
Installing espeak fixed that (sudo pacman -S espeak
), but another error occures when I run engine.runAndWait()
>>> import pyttsx3
>>> engine = pyttsx3.init()
>>> engine.say("I will speak this text")
>>> engine.runAndWait()
sh: aplay: command not found
I tried installing aplay, but I don't see it in pacman repositories nor the AUR.
Then I've installed aplay using pipenv install aplay
, but that didn't help.
Any followups on this?
How can I install aplay
on Arch Linux?
Having the same issue on Raspberry Pi after installing with pip3, so I don't think it's specific to pipenv.
I have the same issue on Window 10 running under venv (Python 3.8.1 if that makes a difference, since the PyPI page only lists up to 3.7
Downgrading doesn't fix the problem for me, but installing espeak does.
This issue is addressed in the homepage Readme.md now
Where is it addressed? I can't seem to find it.
I also had the aplay errors and had to install alsa-utils
on Archlinux to get the aplay
command line tool. I have a fully functional normal Gnome setup, but alsa-utils
doesn't seem to be already installed for other things, so maybe it is good to mention it somewhere that aplay
is needed?
My System: OS: Arch Linux Kernel: linux 5.6.11.arch1-1
To reproduce: Use pipenv (Virtual enviroment manager for python) to install pyttsx3 Run python REPL:
An error shows:
Am I doing something wrong or do I need to install some packages to make this work?