ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found

21.1k Views Asked by At

I am using this tutorial from google

https://codelabs.developers.google.com/codelabs/cloud-iot-core-overview/index.html?index=..%2F..index#2

I was able to perform correctly until I encountered this "python cloudiot_pubsub_example_server.py" step.

After executing the above step, I am getting the following error:

ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /home/pi/Desktop/python-docs-samples/iot/api-client/end_to_end_example/venv/lib/python3.7/site-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so

I also attached the error screenshot for reference

1

There are 1 best solutions below

1
On

As it was mentioned by @Rahul Agarwal you should libc6 package.

It looks like you're using Raspberry Pi OS. To upgrade packages you should follow the documentation and simply use commands sudo apt update and sudo apt upgrade. To get the newest version of libc6 package you should use Raspberry Pi OS Buster.