You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ezesolares
Thank you for your report to the issue!
I have never used node-red with snap, so I will try to build an environment and try it out.
Reading the error text, it is saying that the python program failed to execute.
This node runs setup.py when installing to create a virtual environment.
When installed as a Snap package, it will run in a secure container that does not have access to some extra facilities that may be needed for you to use
It also says the following at the end;
If you need access to system hardware or to add nodes that require compilation then we recommend using a full install of Node-RED and not using the snap.
This may be the reason why you cannot run the program.
Could you please check it out?
First, thanks for all the work
If i try to use node-red from snap
node-red 3.1.0 883 latest/stable noderedteam✓ -
when i try to install it, i get it
024-04-16T18:06:14.072Z Install : @background404/node-red-contrib-python-venv 0.0.2
2024-04-16T18:06:14.075Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict @background404/[email protected]
2024-04-16T18:06:14.285Z [err] npm
2024-04-16T18:06:14.285Z [err] WARN
2024-04-16T18:06:14.285Z [err] config production Use
--omit=dev
instead.2024-04-16T18:06:14.487Z [err] npm
2024-04-16T18:06:14.487Z [err] ERR! code 127
2024-04-16T18:06:14.487Z [err] npm ERR! path /var/snap/node-red/883/node_modules/@background404/node-red-contrib-python-venv
2024-04-16T18:06:14.488Z [err] npm
2024-04-16T18:06:14.488Z [err] ERR!
2024-04-16T18:06:14.488Z [err] command failed
2024-04-16T18:06:14.488Z [err] npm
2024-04-16T18:06:14.488Z [err] ERR! command
2024-04-16T18:06:14.488Z [err] sh -c python setup.py
2024-04-16T18:06:14.488Z [err] npm
2024-04-16T18:06:14.488Z [err] ERR! sh: 1: python: not found
2024-04-16T18:06:14.490Z [err]
2024-04-16T18:06:14.490Z [err] npm ERR! A complete log of this run can be found in: /root/snap/node-red/883/.npm/_logs/2024-04-16T18_06_14_255Z-debug-0.log
in the snap, you can find python3
The text was updated successfully, but these errors were encountered: