-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canvas Install Errors on docker #9
Comments
Hi, I have the same problem. I am running homeassistant ver 0.108.8 with docker. Node red addon 6.2.0 I tried with sudo and doesn´t work Regards
|
Recently I have update to node-red 1.0.4, and it was ok in 0.20 version for me |
@tomtom30, seems like a canvas install issue, possibly due to either permissions or an unsupported architecture. By the looks of your other logs it seems as if you are running linux on a desktop?
Canvas does not rely on a version of node red. Did you also change your Node.js version as well? As the readme states, I only found one working combination of Node.js, tensroflow, and face-api.js that worked for me and a couple of others.
@dborsnich, again, incompatible versions of Node.js and canvas installed in your container. |
Iam running docker in swarm mode with node-red in single container on linux server 18.04. bash-5.0# npm install node-red-contrib-face-recognition
I have done a new try.
which does not exist |
Forgive my ignorance, my docker knowledge is weak at best.
Not unless the binaries are built for you operating system. As you can see in the list of binaries from canvas prebuilt, This doesn't mean however you cannot install canvas, you will just need to do it yourself. have a look at this thread over on the canvas page |
I decide install node red directly to ubuntu server. There I have running docker and home assistant. I did a normal installation and works up to I decide to install tensor flow. It destroy the node red face rekonigtion and I will try to restart to last version. Tomorrow I'll update information. Thanks! |
No worries, sounds promising. I really do hate the incompatibility of packages for this lib, but since face-api.js relies on canvas to work we are stuck with it until an alternative is found. Let us know how you go. |
I also had problems using this Node on the docker container "nodered/node-red:latest" which is based on alpine linux. |
Thanks for the heads up. I just started using docker and linux this year for my own stuff and career, so I hope to eventually make this compatible with it out of the box. If you find any more commands that may help post them here. Of course if you also have a docker file which is working for this also feel free to make a pull in the repo :) |
I have the same problem as [https://github.com//issues/4](this issue).
I tried the root solution but when I connect inside container with root and install.
I get the same error :
Can you help me with this ?
Thanks
The text was updated successfully, but these errors were encountered: