I would like to use utilkit for a custom script. Home Assistant log mentioned it can’t be found/loaded. Does anyone know how to install package(s) in hassio?
I believe dependencies are only possible for components etc, and must available on PyPi.
When I try the below, it gives me some options. Any advise how to use the install command to install utilkit…?
core-ssh:~# install utilkit
BusyBox v1.26.2 (2017-05-23 16:46:32 GMT) multi-call binary.
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-t DIR] [SOURCE]... DEST
Copy files and set attributes
-c Just copy (default)
-d Create directories
-D Create leading target directories
-s Strip symbol table
-p Preserve date
-o USER Set ownership
-g GRP Set group ownership
-m MODE Set permissions
-t DIR Install to DIR
core-ssh:~#
I succeeded to download the package from git
core-ssh:~# git clone https://github.com/aquatix/python-utilkit.git
Cloning into 'python-utilkit'...
remote: Counting objects: 245, done.
remote: Total 245 (delta 0), reused 0 (delta 0), pack-reused 245
Receiving objects: 100% (245/245), 28.33 KiB | 0 bytes/s, done.
Resolving deltas: 100% (156/156), done.
core-ssh:~# ls
python-utilkit
core-ssh:~# cd python-utilkit
core-ssh:~/python-utilkit# ls
CHANGELOG.md README.rst setup.py
LICENSE requirements.txt utilkit
core-ssh:~/python-utilkit#
What is next…
I would also like to know the answer to this question. Using Hassio has many advantages, but the main disadvantage is you are unable to install anything, and for whatever reason, in the RPi image, they inexplicably decided to leave out the raspberrypi
package. Thus one cannot use the Raspberry Pi camera component, for example, because the raspistill
command is not available.