Pitfalls When Installing google-cloud-speech on a Raspberry Pi 4 Model B
Raspberry Pi 4 Model B Environment
1 | cat /etc/os-release |
Installing google-cloud-speech
1 | sudo apt-get install -y libffi-dev libssl-dev |
If You Hit a “No space left on device” Error
1 | Could not install packages due to an EnvironmentError: [Errno 28] デバイスに空き領域がありません |
You can work around this by temporarily pointing to a tmp directory and then running the installation again.
1 | $ mkdir $HOME/tmp |
Even so, I still got the following error.
1 | $ pip3 install grpcio google-cloud-speech |
Instead of using the default pip, let me run https://bootstrap.pypa.io/get-pip.py with python3 to reinstall pip, and then try again.
1 | wget https://bootstrap.pypa.io/get-pip.py |
That did the trick.
I hope this helps.
Pitfalls When Installing google-cloud-speech on a Raspberry Pi 4 Model B
https://kenzo0107.github.io/en/2023/06/01/install-google-cloud-speech-on-raspberrypi4b/
