appdaemon icon indicating copy to clipboard operation
appdaemon copied to clipboard

Use TensorFlow python package

Open LeoI5 opened this issue 2 years ago • 1 comments

What happened?

Hi! Many thanks for AppDaemon project. I want to use Tensorflow for OCR on camera image, but package is not in the list. Please explaine how to add TensorFLow to app.

Version

0.13.0

Installation type

Home Assistant add-on

Relevant log output

Looking in links: https://wheels.home-assistant.io/musllinux/
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
[11:37:08] FATAL: Failed installing package tensorflow

Relevant code in the app or config file that caused the issue

system_packages:
  - py3-opencv
python_packages:
  - tensorflow
init_commands: []
log_level: info

Anything else?

No response

LeoI5 avatar Jun 20 '23 08:06 LeoI5

Hello @LeoI5,

HA Appdaemon add on uses alphine Linux base image to build the docker image, and so I don’t think there is a pre-built wheel for it unfortunately and that is why you having this issue. If you want to do something that advanced, will be best to install AD stand-alone possibly as a docker container, but then you can build it yourself and add all that you want within the built image.

Odianosen25 avatar Jun 29 '23 04:06 Odianosen25