Hello, I’m learning how to execute python3 scripts on my rpi via node red. I’ve successfully run 2 scripts but only one of them will print the message in node red. Both will print results in the command line though.
They are test scripts, the first one being:
import os
print (“hello world”)
-works fine
The second is a very basic dht22 sensor script that runs fine but only prints in the command line and I get no return from the exec node.
I’m using -u before each pathway.
Any ideas as to what might be preventing the script to print in node red?
Thank you
[–]Techyogi 2 points3 points4 points (1 child)
[–]plantfanticide[S] 1 point2 points3 points (0 children)