I am using this tutorial from google
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
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.