adafruit / adafruit/Adafruit_CircuitPython_PCA9685
Example not running on Raspberry Pi 5
- Dominant language
- Python
- Stars
- 157
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
When I run any of the examples on a Raspberry Pi 5, I get this:
```
ImportError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/moritz/pwm2/test.py", line 8, in
import board
File "/home/moritz/pwm2/.venv/lib/python3.11/site-packages/board.py", line 50, in
from adafruit_blinka.board.raspberrypi.raspi_5b import *
File "/home/moritz/pwm2/.venv/lib/python3.11/site-packages/adafruit_blinka/board/raspberrypi/raspi_5b.py", line 6, in
from adafruit_blinka.microcontroller.bcm2712 import pin
File "/home/moritz/pwm2/.venv/lib/python3.11/site-packages/adafruit_blinka/microcontroller/bcm2712/pin.py", line 5, in
from adafruit_blinka.microcontroller.generic_linux.libgpiod_pin import Pin
File "/home/moritz/pwm2/.venv/lib/python3.11/site-packages/adafruit_blinka/microcontroller/generic_linux/libgpiod_pin.py", line 8, in
raise ImportError(
ImportError: libgpiod Python bindings not found, please install and try again! See https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/main/libgpiod.py
```
Any ideas?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the traceback while running one of the repository's examples on a Raspberry Pi 5. Read the board import path shown in the error and the linked Raspberry Pi Installer Scripts guidance for the missing libgpiod bindings. Done means the examples can be run on that platform without this import failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, raspberry-pi
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100