bohdan-s / SunGather

GNU General Public License v3.0
141 stars 57 forks source link

Failed to install add-on SunGather #160

Open Korsberg opened 5 months ago

Korsberg commented 5 months ago

When try ti install I got this error , any way to fix this ?

Failed to install add-on The command '/bin/ash -o pipefail -c pip install --no-cache-dir --upgrade pycryptodomex==3.11.0 -r requirements.txt' returned a non-zero code: 1

hossamnagy commented 5 months ago

I ve got same error, restarting home assistant didn’t help

davidsddh commented 4 months ago

The command '/bin/ash -o pipefail -c pip install --no-cache-dir --upgrade pycryptodomex==3.11.0 -r requirements.txt' returned a non-zero code: 1

Is this a simple typo /bin/[b]ash?

bohdan-s commented 4 months ago

No. The pycryptodomex package is only source. So the docker builds on build. But HA has disabled builds. I have a fix but it requires a bit of rework and I haven’t had time to publish it yet.

djp3k05 commented 4 months ago

we hope that you will get the time to release the fix. thank you.

Wildvirus commented 4 months ago

At console i got an error: running build_ext building 'Cryptodome.Hash._MD2' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python3.11 -c src/MD2.c -o build/temp.linux-x86_64-cpython-311/src/MD2.o error: command 'gcc' failed: No such file or directory

Perhaps it helps..... hoping to a solution