I am retrieving values from S7 PLC and passing it as json string argument to a python script.
I'm using the exec node to exec the .py script
When I launched node-red manually, everything works but when I enable node-red to start automatically on boot, I got python error that no module named found.
I tried to add the
export PYTHONPATH=$PYTHONPATH:/path/to/module in the bash script and then exec my python script but still got this error.
Do you have any idea?