I’m trying to install Homeassistant on an Android Tablet. I’m facing a problem that looks impossible to fix:
When I use Python 3.11, I get a compilation error :
arm-linux-androideabi-clang -mfloat-abi=softfp -mfpu=vfpv3-d16 -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/home/hass/include -I/data/data/com.termux/files/usr/include/python3.11 -c aiohttp/_websocket.c -o build/temp.linux-armv7l-cpython-311/aiohttp/_websocket.o
aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found #include "longintrepr.h"
^~~~~~~~~~~~~~~ 1 error generated.
error: command '/data/data/com.termux/files/usr/bin/arm-linux-androideabi-clang' failed with exit code 1
To solve this, I have seen that I should use a file requirements.txt where I can specify the versions that I want.
The above error about 'longintrepr.h’ can be fixed by using:
aiohttp==3.8.2
yarl==1.8.1
frozenlist==1.3.1
So finally, I used the following requirements.txt file:
(hass) ~ $ cat requirements.txt
aiohttp==3.8.2
aiosignal==1.3.1
async-timeout==4.0.2
attrs==21.2.0
certifi==2022.9.24
charset-normalizer==2.1.1
docopt==0.6.2
frozenlist==1.3.1
homeassistant==2022.11.4
idna==3.4
multidict==5.2.0
numpy==1.23.4
pipreqs==0.4.11
requests==2.28.1
tzdata==2022.6
urllib3==1.26.13
wheel==0.38.4
yarg==0.1.9
yarl==1.8.1
Unfortunately, it is not working because there is a version conflict:
The conflict is caused by:
The user requested aiohttp==3.8.2
homeassistant 2022.11.4 depends on aiohttp==3.8.1
Do you think that we will have soon a version of homeassistant depending on aiohttp 3.8.2?
Thank you