creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 16 + sudo pip3 install --force-reinstall --upgrade bellows==0.30.0 Collecting bellows==0.30.0 Using cached bellows-0.30.0-py3-none-any.whl (171 kB) Collecting pyserial-asyncio Using cached pyserial_asyncio-0.6-py3-none-any.whl (7.6 kB) Collecting zigpy>=0.37.0 Using cached zigpy-0.47.0-py3-none-any.whl (150 kB) Collecting pyserial Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB) Collecting click Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting click-log>=0.2.1 Using cached click_log-0.4.0-py2.py3-none-any.whl (4.3 kB) Collecting voluptuous Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB) Collecting pure-pcapy3==1.0.1 Using cached pure_pcapy3-1.0.1-py3-none-any.whl Collecting setuptools Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting aiohttp Using cached aiohttp-3.8.1-cp37-cp37m-linux_armv7l.whl Collecting crccheck Using cached crccheck-1.1-py3-none-any.whl (29 kB) Collecting cryptography Using cached cryptography-37.0.2.tar.gz (585 kB) Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [166 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Using cached cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Using cached setuptools_rust-1.3.0-py3-none-any.whl (21 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting semantic-version<3,>=2.8.2 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting typing-extensions>=3.7.4.3 Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [58 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for cffi did not run successfully. │ exit code: 1 ╰─> [60 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 17 + sudo pip3 install --force-reinstall --upgrade zigpy==0.46.0 Collecting zigpy==0.46.0 Using cached zigpy-0.46.0-py3-none-any.whl (146 kB) Collecting aiosqlite>=0.16.0 Using cached aiosqlite-0.17.0-py3-none-any.whl (15 kB) Collecting aiohttp Using cached aiohttp-3.8.1-cp37-cp37m-linux_armv7l.whl Collecting crccheck Using cached crccheck-1.1-py3-none-any.whl (29 kB) Collecting cryptography Using cached cryptography-37.0.2.tar.gz (585 kB) Installing build dependencies: started Installing build dependencies: still running... Installing build dependencies: finished with status 'error' error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [166 lines of output] Collecting setuptools!=60.9.0,>=40.6.0 Using cached setuptools-62.6.0-py3-none-any.whl (1.2 MB) Collecting wheel Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) Collecting cffi>=1.12 Using cached cffi-1.15.0.tar.gz (484 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting setuptools-rust>=0.11.4 Using cached setuptools_rust-1.3.0-py3-none-any.whl (21 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting typing-extensions>=3.7.4.3 Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB) Collecting semantic-version<3,>=2.8.2 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Building wheels for collected packages: cffi Building wheel for cffi (setup.py): started Building wheel for cffi (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [58 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cffi Running setup.py clean for cffi Failed to build cffi Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffi Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' error: subprocess-exited-with-error × Running setup.py install for cffi did not run successfully. │ exit code: 1 ╰─> [60 lines of output] Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found /usr/local/lib/python3.7/dist-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib.linux-armv7l-cpython-37 creating build/lib.linux-armv7l-cpython-37/cffi copying cffi/api.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/error.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/model.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/lock.py -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-37/cffi copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-37/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-armv7l-cpython-37 creating build/temp.linux-armv7l-cpython-37/c arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.7m -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-37/c/_cffi_backend.o c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory #include ^~~~~~~ compilation terminated. error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> cffi note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. + echo 18 + sudo pip3 install --force-reinstall --upgrade xmodem Collecting xmodem Using cached xmodem-0.4.6-py3-none-any.whl Installing collected packages: xmodem Attempting uninstall: xmodem Found existing installation: xmodem 0.4.6 Uninstalling xmodem-0.4.6: Successfully uninstalled xmodem-0.4.6 Successfully installed xmodem-0.4.6 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 19 + sudo pip3 install --force-reinstall --upgrade pycrypto Collecting pycrypto Using cached pycrypto-2.6.1-cp37-cp37m-linux_armv7l.whl Installing collected packages: pycrypto Attempting uninstall: pycrypto Found existing installation: pycrypto 2.6.1 Uninstalling pycrypto-2.6.1: Successfully uninstalled pycrypto-2.6.1 Successfully installed pycrypto-2.6.1 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 20 + sudo pip3 install --force-reinstall --upgrade charset-normalizer==2.0.12 Collecting charset-normalizer==2.0.12 Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Installing collected packages: charset-normalizer Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 2.0.12 Uninstalling charset-normalizer-2.0.12: Successfully uninstalled charset-normalizer-2.0.12 Successfully installed charset-normalizer-2.0.12 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv + echo 21 + sudo chmod +x /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh + sudo /var/www/html/core/class/../../plugins/zigbee/resources/post-install.sh Launch post-install of zigbee dependancy Everything is successfully installed! + echo 22 + php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end zigbee + rm /tmp/jeedom_install_in_progress_zigbee + echo '*******************End of package installation******************' *******************End of package installation******************