Rpi-gpio input node "stopped"

is the failure line... so can you at a command line do

cd /usr/lib/node_modules/node-red/node_modules/@node-red/nodes/core/hardware
./nrgpio info

@dceejay I guess you got the problem... this is the output of the command:

raceback (most recent call last):
  File "./nrgpio.py", line 17, in <module>
    import RPi.GPIO as GPIO
ModuleNotFoundError: No module named 'RPi'

In addition I've tried to use the node-red-contrib-camerapi node, and also in this case the node doesn't work.
So... I decided to install a new Rasbian on an a new SD card and then tried to use the GPIO and the camera and now all works.
Well, what I've broke on the original Rasbpian?

looks like the python gpio libraries weren't installed.. which is odd as they are by default... (and I thought the gpio command may have used them... but maybe not) - but hey... you're off and running now.

Now I'm running on a newly freshly Raspbian installation.
I think is a good idea to forget the "old broke" system (due to unusual problem) and restart with a new good system. Isn't right?

Well you may be able to

sudo apt-get install rpi.gpio

to get it back - but who knows if there is anything else missing... a clean install would be cleanest.

1 Like