You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following these steps, the result is ModuleNotFoundError: No module named 'RPi'. Comparing uv pip freeze in this venv to pip freeze in a working venv, one can see the following two files were not installed: rpi-ws281x==5.0.0 RPi.GPIO==0.7.1
Additional information
This is likely to be related to how these declarations are conditional in the setup.py file. I couldn't find where this was a documented limitation of uv, but it seems possible/likely.
. o O ( I'm actually not sure how good old pip knows how to install RPi.GPIO when it installs a wheel of adafruit-blinka... )
The text was updated successfully, but these errors were encountered:
I think the only way to get it working (currently) is via that installer script, which does some manual installing/removing to get things setup for Pi5. (see PR 329)
So not surprising things generally aren't working with other tooling.
Board Name
Raspberry Pi 5
Steps
uv
uv venv /tmp/blinka-uv
. /tmp/blinka-uv/bin/activate
uv pip install adafruit-blinka
python -c 'import board
Description
Following these steps, the result is
ModuleNotFoundError: No module named 'RPi'
. Comparinguv pip freeze
in this venv topip freeze
in a working venv, one can see the following two files were not installed:rpi-ws281x==5.0.0 RPi.GPIO==0.7.1
Additional information
This is likely to be related to how these declarations are conditional in the setup.py file. I couldn't find where this was a documented limitation of uv, but it seems possible/likely.
. o O ( I'm actually not sure how good old pip knows how to install RPi.GPIO when it installs a wheel of adafruit-blinka... )
The text was updated successfully, but these errors were encountered: