Hi, I am running into the same issue with Google Cloud IOT API on Raspberry PI 4. Tried the above commands to re-install the grpcio modules, but still not working.
File "/home/pi/.local/lib/python3.7/site-packages/google/cloud/iot_v1/__init__.py", line 17, in <module> from .services.device_manager import DeviceManagerClient File "/home/pi/.local/lib/python3.7/site-packages/google/cloud/iot_v1/services/device_manager/__init__.py", line 16, in <module> from .client import DeviceManagerClient File "/home/pi/.local/lib/python3.7/site-packages/google/cloud/iot_v1/services/device_manager/client.py", line 25, in <module> from google.api_core import gapic_v1 # type: ignore File "/home/pi/.local/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/.local/lib/python3.7/site-packages/google/api_core/gapic_v1/config.py", line 23, in <module> import grpc File "/home/pi/.local/lib/python3.7/site-packages/grpc/__init__.py", line 22, in <module> from grpc import _compression * File "/home/pi/.local/lib/python3.7/site-packages/grpc/_compression.py", line 15, in <module> from grpc._cython import cygrpcImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /home/pi/.local/lib/python3.7/site-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so)* Info of the Pi: OS Release notes: $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Debian version: $ cat /etc/debian_version 10.11 Kernel version: $ uname -a Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux On Saturday, November 27, 2021 at 3:16:59 AM UTC-8 p.o.seidon wrote: > Had a look into my install script to be precise. There it reads: > os.system( "sudo pip3 install -U grpcio --no-binary=grpcio") > os.system( "sudo pip3 install -U grpcio-tools --no-binary=grpcio-tools") > > Cheers > Paul > On Saturday, November 27, 2021 at 12:07:54 PM UTC+1 p.o.seidon wrote: > >> sudo pip3 install grpcio -tools -U --no-binary=grpcio >> --no-binary=grpcio-tools >> >> >> >> On Tuesday, October 26, 2021 at 5:14:36 AM UTC+2 Antonio Orozco wrote: >> >>> Hi, >>> >>> Running into the same problem, "--no-binary=grpcio" did not work for me. >>> What are the exact commands that you ran? >>> >>> ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' >>> not found (required by >>> /home/antonio/.local/lib/python3.7/site-packages/grpc/_cython/ >>> cygrpc.cpython-37m-arm-linux-gnueabihf.so >>> >>> On Thursday, October 21, 2021 at 11:07:03 AM UTC-7 p.o.seidon wrote: >>> >>>> --no-binary=grpcio >>>> --no-binary=grpcio-tools >>>> >>>> Worx. Thank you so much! >>>> >>>> Cheers Paul >>>> >>>> On Wednesday, October 20, 2021 at 8:15:44 PM UTC+2 rbel...@google.com >>>> wrote: >>>> >>>>> If the precompiled binaries do not meet the constraints of your >>>>> runtime environment, you can also build from source using pip install >>>>> --no-binary. Alternatively, you could check out the artifacts hosted >>>>> at piwheels <https://www.piwheels.org/project/grpcio/>. >>>>> >>>>> On Wednesday, October 20, 2021 at 4:56:36 AM UTC-7 p.o.seidon wrote: >>>>> >>>>>> I use gRPC in my program, where it reads >>>>>> >>>>>> import grpc >>>>>> >>>>>> which calls >>>>>> >>>>>> from grpc import _compression >>>>>> >>>>>> which calls >>>>>> >>>>>> from grpc import _compression >>>>>> >>>>>> which causes >>>>>> >>>>>> builtins.ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version >>>>>> `GLIBC_2.33' not found (required by >>>>>> /usr/local/lib/python3.7/dist-packages/grpc/_cython/ >>>>>> cygrpc.cpython-37m-arm-linux-gnueabihf.so) >>>>>> >>>>>> I am on a RasPi 4 / 8 GB, Raspberry OS / Buster, installed a few days >>>>>> ago. I installed gRPC by issueing >>>>>> >>>>>> sudo pip3 install grpcio -U >>>>>> sudo pip3 install grpcio -tools -U >>>>>> >>>>>> Issueing ldd --version yields >>>>>> >>>>>> ldd (Debian GLIBC 2.28-10+rpt2+rpi1) 2.28 >>>>>> >>>>>> What am I supposed to do now? >>>>>> >>>>>> Cheers Paul >>>>>> >>>>>> >>>>>> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/9178ebe6-783e-45e9-b6ea-ac2f37a47aacn%40googlegroups.com.