From 037f244176572657471f11024628c61eb1c0254c Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Sat, 31 Jul 2021 20:35:36 +0200 Subject: [PATCH] Update readme to get rid of playsound and (buggy) PyGObject lib --- README.md | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 8877e3a..850096e 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,12 @@ of others languages like german, spanish and more. ## Compatiblity -The client should work on any platforms from Windows to Linux on ARM devices (raspberry pi 3/4) or x86 computers. +The client should work on any platforms from Windows to Linux on ARM devices (raspberry pi 3/4) or x86 computers. The client handle TTS (Text to Speech) and Wake Word. -It listens for the wake word (offline of course) and -then send what you said after the wake word to the server that will use Google Speech to Text API *(unfortunately no -other API other than Google is good enough imo.)* to convert your speech to text and then try to execute your request. +It listens for the wake word (offline of course) and then send what you said after the wake word to the server that will +use Google Speech to Text API *(unfortunately no other API other than Google is good enough imo.)* to convert your +speech to text and then try to execute your request. ## Installation @@ -28,6 +28,7 @@ If not already installed, you will need Python 3.9, you can install it with thes sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt install python3.9 python3.9-dev python3.9-distutils +sudo apt-get install -y python3-dev libasound2-dev # required even if python is already installed ``` ### Install requirements @@ -74,21 +75,6 @@ You will need to install gruut aswell, follow the instructions [here](https://gi Common errors than I personally encoured during this project, hope this can help you. -## Error during installation of PyGObject: - -You're probably missing the development package. The package name varies by distribution, but it's the one -containing `/usr/lib/pkgconfig/gobject-introspection-1.0.pc` (or `/usr/lib64/pkgconfig/gobject-introspection-1.0.pc` for -some 64-bit distros): - -- Fedora, CentOS, RHEL, etc.: gobject-introspection-devel -- Debian, Ubuntu, Mint, etc.: libgirepository1.0-dev -- Arch: gobject-introspection -- FreeBSD: gobject-introspection -- Cygwin: libgirepository1.0-devel -- msys2: mingw-w64-x86_64-gobject-introspection and/or mingw-w64-i686-gobject-introspection - -[Source](https://stackoverflow.com/a/18027346) - ### Error during installation of PyAudio: Do the following command `sudo apt-get install portaudio19-dev python-pyaudio`