Пытаюсь установить pip install python-miio==0.5.6, ничего не выходит.
Running setup.py install for netifaces ... error
ERROR: Command errored out with exit status 1:
command: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-p6pujlyt/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.9/netifaces
cwd: /opt/tmp/pip-install-64iorqlp/netifaces/
Complete output (18 lines):
running install
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...none found.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...none!
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4 -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4 -DNDEBUG -fno-inline -pthread -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4 -DNDEBUG -fno-inline -pthread -I/work/testing/9999/staging_dir/toolchain-mipsel_mips32r2_gcc-8.4.0_glibc-2.27/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/opt/include/python3.9 -c netifaces.c -o build/temp.linux-mips-3.9/netifaces.o
gcc: error: unrecognized command line option '-fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4'
gcc: error: unrecognized command line option '-fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4'
gcc: error: unrecognized command line option '-fmacro-prefix-map=/work/testing/9999/build_dir/target-mipsel_mips32r2_glibc-2.27/Python-3.9.4=Python-3.9.4'
error: command '/opt/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"'; __file__='"'"'/opt/tmp/pip-install-64iorqlp/netifaces/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /opt/tmp/pip-record-p6pujlyt/install-record.txt --single-version-externally-managed --compile --install-headers /opt/include/python3.9/netifaces Check the logs for full command output.