The officially official Devuan Forum!

You are not logged in.

#1 2017-07-04 18:53:12

alsen
Member
From: Bologna
Registered: 2016-12-15
Posts: 29  

Raspberry 3 - Unable to locate package python-rpi.gpio

Is there a repository to get this package ?

I'm trying to install node-red on Raspberry 3

Thanks
Alberto


Maker and a fun of Devuan

Offline

#2 2018-08-10 05:10:43

minghia
Member
Registered: 2018-06-18
Posts: 11  

Re: Raspberry 3 - Unable to locate package python-rpi.gpio

I found it by using pip install RPi.GPIO. Unfortunately it doesn't work under Devuan. When you try to import from python you get an error stating that the software only runs on a Raspberry Pi.

Is there a way to access the GPIO pins on a Devuan O/S? Under other linuxes it is simply a case of typing:

echo X > /sys/class/gpio/export

and this creates the directory tree from which you can read or write to the pins using /sys/class/gpioX value. Unfortunately this appears not to work under Devuan on a RPi 3B+.  Any suggestions would be appreciated.

Offline

Board footer