ct-Open-Source / ct-Smart-Home

A ready-to-use Node-RED setup for home automation
https://ct.de/smarthome
GNU General Public License v2.0
165 stars 40 forks source link

issues with serial node or python #63

Open BobLane1214 opened 3 years ago

BobLane1214 commented 3 years ago

Dear experts,

I am facing an issue with serialnode and hope, that you can help me with that. My target is to install node-red-node-serialport (running LaCrosse/ JeeLink) and node-red-contrib-cul (for BusWare CUL stick) but both are failing during installation. I think the relevant entry in log is the following:

1392 verbose stack Error: @serialport/bindings@9.0.7 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

Diggering a little bit deeper with executing "npm install serialnode" within the container it seems for me, that the process fails, as no python environment can be found:

gyp ERR! stack Error: Could not find any Python installation to use

Looking into the docker file of this project, I think, that python3 should also be content of this image and container. Also the $PATH variable in the container looks okay.

Can you help me finishing the serial node-installation within the container?