Hello,
I installed python 3 using npm install -g node-red-contrib-python3-function & just inject a simple code to print 'hello'.
Suddenly node-red disconnected with below message in PowerShell. Though I tried to run node-red after that, it is not working.
26 Jan 22:31:44 - [info] Server now running at http://127.0.0.1:1880/
26 Jan 22:31:44 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
26 Jan 22:31:44 - [info] Starting flows
26 Jan 22:31:44 - [info] [python3-function:e1d01315.61c6e] Python function '' running on PID undefined
26 Jan 22:31:44 - [info] Started flows
26 Jan 22:31:44 - [red] Uncaught Exception:
26 Jan 22:31:44 - Error: spawn python ENOENT
** at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)**
** at onErrorNT (internal/child_process.js:407:16)**
** at process._tickCallback (internal/process/next_tick.js:63:19)**
What is this issue ? What should I want to do? Since this is my first time trying function with python 3 I could not figure out the issue correctly. Kindly help me in this regard.
I believe that I can use python in node-red for my project instead of javascript. If it is difficult in any situation kindly let me know. I'm scared that whether I will be stuck in the middle.
Thank you.