I am following the Adafruit CircuitPython guide:
https://learn.adafruit.com/adafruit-16- ... it-library
...which requires installing CircuitPython and Blinka, so I followed these steps:
https://learn.adafruit.com/circuitpytho ... spberry-pi
...including upgrading setuptools, wgetting and running the raspi-blinka.py script, and rebooting. All completed fine, and i2cdetect shows the servo board communicating on channel 40. So far, so good.
However, when I download and run blinkatest.py, I get this:
Code: Select all
File "/home/pi/.pyenv/versions/3.11.5/lib/python3.11/site-packages/RPi/GPIO/__init__.py", line 23, in <module>
from RPi._GPIO import *
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found (required by /home/pi/.pyenv/versions/3.11.5/lib/python3.11/site-packages/RPi/_GPIO.cpython-311-arm-linux-gnueabihf.so)
It appears that the latest version of blinka, including RPi.GPIO, requires glibc 2.34. Unfortunately, the latest Raspberry Pi OS ships with glibc 2.31.
I've done some searching for how to build a more up-to-date glibc from source, and the guidance appears to be: "Don't bother trying." (For instance: https://forums.raspberrypi.com/viewtopic.php?t=334896 )
Aside from just shelving this entire project until Raspberry Pi OS updates to Bookwork with a more recent glibc, what are my options?