简体   繁体   中英

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

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

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 thedocumentation 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM