******************************************************** * Installation des dépendances * ******************************************************** Hit:2 http://security.debian.org stretch/updates InRelease Hit:3 http://www.deb-multimedia.org stretch InRelease Ign:4 http://ftp.debian.org/debian stretch InRelease Hit:5 http://ftp.debian.org/debian stretch-updates InRelease Hit:6 http://ftp.debian.org/debian stretch-backports InRelease Hit:7 http://ftp.debian.org/debian stretch-proposed-updates InRelease Hit:8 http://ftp.debian.org/debian stretch Release Get:1 https://repo.jeedom.com/odroid stable InRelease [1,640 B] Hit:9 https://oph.mdrjr.net/meveric all InRelease Hit:10 https://oph.mdrjr.net/meveric stretch InRelease Fetched 1,640 B in 3s (533 B/s) Reading package lists... E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Requirement already up-to-date: setuptools in /usr/local/lib/python3.5/dist-packages E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Requirement already satisfied: pyudev in /usr/local/lib/python3.5/dist-packages Requirement already satisfied: six in /usr/lib/python3/dist-packages (from pyudev) Requirement already satisfied: pyserial in /usr/local/lib/python3.5/dist-packages Requirement already satisfied: requests in /usr/local/lib/python3.5/dist-packages Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests) Collecting pybluez Using cached https://files.pythonhosted.org/packages/08/9f/e9d93b266d2d1ea988780a52a696073ba0a65df65a532165fdf6ff90d0ed/PyBluez-0.23.tar.gz Building wheels for collected packages: pybluez Running setup.py bdist_wheel for pybluez: started Running setup.py bdist_wheel for pybluez: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1d4igfsg/pybluez/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpmgre34cepip-wheel- --python-tag cp35: running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-3.5 creating build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/ble.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/macos.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/bluez.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/msbt.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/__init__.py -> build/lib.linux-aarch64-3.5/bluetooth /usr/local/lib/python3.5/dist-packages/setuptools/lib2to3_ex.py:44: SetuptoolsDeprecationWarning: 2to3 support is deprecated. If the project still requires Python 2 support, please migrate to a single-codebase solution or employ an independent conversion process. SetuptoolsDeprecationWarning) Fixing build/lib.linux-aarch64-3.5/bluetooth/btcommon.py build/lib.linux-aarch64-3.5/bluetooth/ble.py build/lib.linux-aarch64-3.5/bluetooth/macos.py build/lib.linux-aarch64-3.5/bluetooth/bluez.py build/lib.linux-aarch64-3.5/bluetooth/widcomm.py build/lib.linux-aarch64-3.5/bluetooth/msbt.py build/lib.linux-aarch64-3.5/bluetooth/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing build/lib.linux-aarch64-3.5/bluetooth/btcommon.py build/lib.linux-aarch64-3.5/bluetooth/ble.py build/lib.linux-aarch64-3.5/bluetooth/macos.py build/lib.linux-aarch64-3.5/bluetooth/bluez.py build/lib.linux-aarch64-3.5/bluetooth/widcomm.py build/lib.linux-aarch64-3.5/bluetooth/msbt.py build/lib.linux-aarch64-3.5/bluetooth/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-aarch64-3.5 creating build/temp.linux-aarch64-3.5/bluez aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-qsALw2/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./port3 -I/usr/include/python3.5m -c bluez/btmodule.c -o build/temp.linux-aarch64-3.5/bluez/btmodule.o In file included from bluez/btmodule.c:20:0: bluez/btmodule.h:5:33: fatal error: bluetooth/bluetooth.h: No such file or directory #include ^ compilation terminated. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for pybluez Running setup.py clean for pybluez Failed to build pybluez Installing collected packages: pybluez Running setup.py install for pybluez: started Running setup.py install for pybluez: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1d4igfsg/pybluez/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-leo6axy2-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-aarch64-3.5 creating build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/ble.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/macos.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/bluez.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/msbt.py -> build/lib.linux-aarch64-3.5/bluetooth copying bluetooth/__init__.py -> build/lib.linux-aarch64-3.5/bluetooth /usr/local/lib/python3.5/dist-packages/setuptools/lib2to3_ex.py:44: SetuptoolsDeprecationWarning: 2to3 support is deprecated. If the project still requires Python 2 support, please migrate to a single-codebase solution or employ an independent conversion process. SetuptoolsDeprecationWarning) Fixing build/lib.linux-aarch64-3.5/bluetooth/btcommon.py build/lib.linux-aarch64-3.5/bluetooth/ble.py build/lib.linux-aarch64-3.5/bluetooth/macos.py build/lib.linux-aarch64-3.5/bluetooth/bluez.py build/lib.linux-aarch64-3.5/bluetooth/widcomm.py build/lib.linux-aarch64-3.5/bluetooth/msbt.py build/lib.linux-aarch64-3.5/bluetooth/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing build/lib.linux-aarch64-3.5/bluetooth/btcommon.py build/lib.linux-aarch64-3.5/bluetooth/ble.py build/lib.linux-aarch64-3.5/bluetooth/macos.py build/lib.linux-aarch64-3.5/bluetooth/bluez.py build/lib.linux-aarch64-3.5/bluetooth/widcomm.py build/lib.linux-aarch64-3.5/bluetooth/msbt.py build/lib.linux-aarch64-3.5/bluetooth/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-aarch64-3.5 creating build/temp.linux-aarch64-3.5/bluez aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-qsALw2/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./port3 -I/usr/include/python3.5m -c bluez/btmodule.c -o build/temp.linux-aarch64-3.5/bluez/btmodule.o In file included from bluez/btmodule.c:20:0: bluez/btmodule.h:5:33: fatal error: bluetooth/bluetooth.h: No such file or directory #include ^ compilation terminated. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1d4igfsg/pybluez/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-leo6axy2-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-1d4igfsg/pybluez/ Requirement already satisfied: pillow in /usr/local/lib/python3.5/dist-packages Collecting numpy Using cached https://files.pythonhosted.org/packages/01/1b/d3ddcabd5817be02df0e6ee20d64f77ff6d0d97f83b77f65e98c8a651981/numpy-1.18.5.zip Building wheels for collected packages: numpy Running setup.py bdist_wheel for numpy: started Running setup.py bdist_wheel for numpy: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9xxciufv/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmplibygrbkpip-wheel- --python-tag cp35: Running from numpy source directory. Cythonizing sources Processing numpy/random/_bounded_integers.pxd.in Processing numpy/random/mtrand.pyx Traceback (most recent call last): File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 61, in process_pyx from Cython.Compiler.Version import version as cython_version ImportError: No module named 'Cython' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 238, in main() File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 234, in main find_process_files(root_dir) File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 225, in find_process_files process(root_dir, fromfile, tofile, function, hash_db) File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 191, in process processor_function(fromfile, tofile) File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 66, in process_pyx raise OSError('Cython needs to be installed in Python as a module') OSError: Cython needs to be installed in Python as a module Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-9xxciufv/numpy/setup.py", line 488, in setup_package() File "/tmp/pip-build-9xxciufv/numpy/setup.py", line 469, in setup_package generate_cython() File "/tmp/pip-build-9xxciufv/numpy/setup.py", line 275, in generate_cython raise RuntimeError("Running cythonize failed!") RuntimeError: Running cythonize failed! ---------------------------------------- Failed building wheel for numpy Running setup.py clean for numpy Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9xxciufv/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" clean --all: Running from numpy source directory. `setup.py clean` is not supported, use one of the following instead: - `git clean -xdf` (cleans all files) - `git clean -Xdf` (cleans all versioned files, doesn't touch files that aren't checked into the git repo) Add `--force` to your command to use it anyway if you must (unsupported). ---------------------------------------- Failed cleaning build dir for numpy Failed to build numpy Installing collected packages: numpy Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9xxciufv/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-lxlw2drg-record/install-record.txt --single-version-externally-managed --compile: Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) Cythonizing sources numpy/random/_bounded_integers.pxd.in has not changed Processing numpy/random/mtrand.pyx Traceback (most recent call last): File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 61, in process_pyx from Cython.Compiler.Version import version as cython_version ImportError: No module named 'Cython' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 238, in main() File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 234, in main find_process_files(root_dir) File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 225, in find_process_files process(root_dir, fromfile, tofile, function, hash_db) File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 191, in process processor_function(fromfile, tofile) File "/tmp/pip-build-9xxciufv/numpy/tools/cythonize.py", line 66, in process_pyx raise OSError('Cython needs to be installed in Python as a module') OSError: Cython needs to be installed in Python as a module Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-9xxciufv/numpy/setup.py", line 488, in setup_package() File "/tmp/pip-build-9xxciufv/numpy/setup.py", line 469, in setup_package generate_cython() File "/tmp/pip-build-9xxciufv/numpy/setup.py", line 275, in generate_cython raise RuntimeError("Running cythonize failed!") RuntimeError: Running cythonize failed! ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9xxciufv/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-lxlw2drg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9xxciufv/numpy/ Cloning into 'bluepy'... running build running build_py creating build creating build/lib creating build/lib/bluepy copying bluepy/thingy52.py -> build/lib/bluepy copying bluepy/sensortag.py -> build/lib/bluepy copying bluepy/scanner.py -> build/lib/bluepy copying bluepy/scan_fuzz.py -> build/lib/bluepy copying bluepy/get_services.py -> build/lib/bluepy copying bluepy/btle.py -> build/lib/bluepy copying bluepy/blescan.py -> build/lib/bluepy copying bluepy/__init__.py -> build/lib/bluepy copying bluepy/uuids.json -> build/lib/bluepy copying bluepy/bluez-src.tgz -> build/lib/bluepy copying bluepy/bluepy-helper.c -> build/lib/bluepy copying bluepy/Makefile -> build/lib/bluepy running install Working dir is /tmp/bluepy execute make -C ./bluepy clean execute make -C bluepy -j1 Failed to compile bluepy-helper. Exiting install. Command was 'make -C bluepy -j1' in /tmp/bluepy Return code was 2 Output was: b"make: Entering directory '/tmp/bluepy/bluepy' tar xzf bluez-src.tgz touch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c make: pkg-config: Command not found make: pkg-config: Command not found cc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c bluepy-helper.c:33:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/attrib/att.c:33:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/attrib/gatt.c:32:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/attrib/gattrib.c:34:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/attrib/utils.c:30:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/btio/btio.c:37:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/src/log.c:38:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/src/shared/io-glib.c:30:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. ./bluez-5.47/src/shared/timeout-glib.c:22:18: fatal error: glib.h: No such file or directory #include ^ compilation terminated. Makefile:30: recipe for target 'bluepy-helper' failed make: *** [bluepy-helper] Error 1 make: Leaving directory '/tmp/bluepy/bluepy' " Collecting cryptography Using cached https://files.pythonhosted.org/packages/56/3b/78c6816918fdf2405d62c98e48589112669f36711e50158a0c15d804c30d/cryptography-2.9.2.tar.gz Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography) Collecting cffi!=1.11.3,>=1.8 (from cryptography) Using cached https://files.pythonhosted.org/packages/05/54/3324b0c46340c31b909fcec598696aaec7ddc8c18a63f2db352562d3354c/cffi-1.14.0.tar.gz Requirement already satisfied: pycparser in /usr/local/lib/python3.5/dist-packages (from cffi!=1.11.3,>=1.8->cryptography) Building wheels for collected packages: cryptography, cffi Running setup.py bdist_wheel for cryptography: started Running setup.py bdist_wheel for cryptography: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_g5lgdv9/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpod6tv1okpip-wheel- --python-tag cp35: ERROR: Failed to build one or more wheels Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 128, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib/python3.5/subprocess.py", line 271, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp1vu0ck26', '--quiet', 'cffi!=1.11.3,>=1.8']' returned non-zero exit status 1 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-_g5lgdv9/cryptography/setup.py", line 274, in **keywords_with_side_effects(sys.argv) File "/usr/local/lib/python3.5/dist-packages/setuptools/__init__.py", line 164, in setup _install_setup_requires(attrs) File "/usr/local/lib/python3.5/dist-packages/setuptools/__init__.py", line 159, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 702, in fetch_build_eggs replace_conflicting=True, File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 781, in resolve replace_conflicting=replace_conflicting File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1064, in best_match return self.obtain(req, installer) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1076, in obtain return installer(requirement) File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 758, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 130, in fetch_build_egg raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp1vu0ck26', '--quiet', 'cffi!=1.11.3,>=1.8']' returned non-zero exit status 1 ---------------------------------------- Failed building wheel for cryptography Running setup.py clean for cryptography Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_g5lgdv9/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" clean --all: ERROR: Failed to build one or more wheels Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 128, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib/python3.5/subprocess.py", line 271, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp90cf9gxz', '--quiet', 'cffi!=1.11.3,>=1.8']' returned non-zero exit status 1 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-_g5lgdv9/cryptography/setup.py", line 274, in **keywords_with_side_effects(sys.argv) File "/usr/local/lib/python3.5/dist-packages/setuptools/__init__.py", line 164, in setup _install_setup_requires(attrs) File "/usr/local/lib/python3.5/dist-packages/setuptools/__init__.py", line 159, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 702, in fetch_build_eggs replace_conflicting=True, File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 781, in resolve replace_conflicting=replace_conflicting File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1064, in best_match return self.obtain(req, installer) File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1076, in obtain return installer(requirement) File "/usr/local/lib/python3.5/dist-packages/setuptools/dist.py", line 758, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/local/lib/python3.5/dist-packages/setuptools/installer.py", line 130, in fetch_build_egg raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp90cf9gxz', '--quiet', 'cffi!=1.11.3,>=1.8']' returned non-zero exit status 1 ---------------------------------------- Failed cleaning build dir for cryptography Running setup.py bdist_wheel for cffi: started Running setup.py bdist_wheel for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_g5lgdv9/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpwirsmw2dpip-wheel- --python-tag cp35: running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-3.5 creating build/lib.linux-aarch64-3.5/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/lock.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/api.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/error.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/model.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-3.5/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-3.5/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-3.5/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-3.5/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-3.5 creating build/temp.linux-aarch64-3.5/c aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-qsALw2/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.5m -c c/_cffi_backend.c -o build/temp.linux-aarch64-3.5/c/_cffi_backend.o c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory #include ^ compilation terminated. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for cffi Running setup.py clean for cffi Failed to build cryptography cffi Installing collected packages: cffi, cryptography Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_g5lgdv9/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u6wkym6m-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-aarch64-3.5 creating build/lib.linux-aarch64-3.5/cffi copying cffi/recompiler.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/verifier.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/__init__.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/lock.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/api.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/vengine_gen.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/pkgconfig.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/ffiplatform.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/cparser.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/error.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/commontypes.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/model.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-3.5/cffi copying cffi/_cffi_include.h -> build/lib.linux-aarch64-3.5/cffi copying cffi/parse_c_type.h -> build/lib.linux-aarch64-3.5/cffi copying cffi/_embedding.h -> build/lib.linux-aarch64-3.5/cffi copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-3.5/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-aarch64-3.5 creating build/temp.linux-aarch64-3.5/c aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-qsALw2/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.5m -c c/_cffi_backend.c -o build/temp.linux-aarch64-3.5/c/_cffi_backend.o c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory #include ^ compilation terminated. error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_g5lgdv9/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u6wkym6m-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_g5lgdv9/cffi/ Requirement already satisfied: pycrypto in /usr/local/lib/python3.5/dist-packages ******************************************************** * Installation terminée * ********************************************************