Hi,
I am loving Node-RED on a Raspberry Pi. There is also a great package for resin.io available GitHub - elaval/resin-node-red-basic BUT it don’t includes GPIO support.
The package python-rpi.gpio or python3-rpi.gpio doesn’t exist in the apt-get repo:
E: Unable to locate package python-rpi.gpio
E: Couldn’t find any package by regex ‘python-rpi.gpio’
E: Unable to locate package python3-rpi.gpio
E: Couldn’t find any package by regex ‘python3-rpi.gpio’
So I have succesfully installed RSP.GIP with the pip installer:
apt-get install python-dev python3-dev
apt-get install mercurial
apt-get install python-pip python3-pip
apt-get remove python-rpi.gpio python3-rpi.gpio
pip install hg+http://hg.code.sf.net/p/raspberry-gpio-python/code#egg=RPi.GPIO
But this don’t fixed the problem with node-red, as you can read here: Redirecting to Google Groups
-The result ist always the same-
A log message from Node-Red:
“[warn] Can’t find Pi RPi.GPIO python library.”
This causes that I can not use the GPIO Nodes.
I am a bit surprised that RPI.GPIO is not already installed in the resin/rpi-node package.
Any idea, how to fix that?
Kindly regards,
vergissberlin (forget berlin)