Importerror on Raspberry Pi 3A Python 3.7

44 views
Skip to first unread message

Jörg Zywek

unread,
Oct 21, 2021, 3:06:50 AM10/21/21
to grp...@googlegroups.com

I've a running configuration resp. script on a Ubuntu 20.04 LTS System. Now I try to install the google-cloud-texttospeech Python package on a Raspberry Pi 3A because I want to use Google TTS system in Picroft. But I don't get the package running on that system. Everytime I start the package on a Python console with import google.cloud.texttospeech I got this errors:

>>> import google.cloud.texttospeech
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/google/cloud/texttospeech/__init__.py", line 17, in <module>
    from google.cloud.texttospeech_v1.services.text_to_speech.client import (
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/google/cloud/texttospeech_v1/services/text_to_speech/__init__.py", line 16, in <module>
    from .client import TextToSpeechClient
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/google/cloud/texttospeech_v1/services/text_to_speech/client.py", line 25, in <module>
    from google.api_core import gapic_v1  # type: ignore
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/google/api_core/gapic_v1/__init__.py", line 16, in <module>
    from google.api_core.gapic_v1 import config
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/google/api_core/gapic_v1/config.py", line 23, in <module>
    import grpc
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/grpc/__init__.py", line 22, in <module>
    from grpc import _compression
  File "/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/grpc/_compression.py", line 15, in <module>
    from grpc._cython import cygrpc
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /home/pi/mycroft-core/.venv/lib/python3.7/site-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so)

What is going wrong?

Jörg


  
OpenPGP_signature

Antonio Orozco

unread,
Oct 25, 2021, 11:17:57 PM10/25/21
to grpc.io
Yep, running into the same issue on a raspberry pi 4.
Reply all
Reply to author
Forward
0 new messages