Plugin xiaomi en NOK depuis maj de fev 2020

bonsoir,
j’ai un soucis depuis la dernière mise à jour du plugin de xiaomi :-/
je suis sous smart et j’ai essayé de faire une retour arrière avec la sauvegarde mais sans effet.

je suis donc passé en debug et il n’a pas l’air content :


warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
creating build/temp.linux-aarch64-3.4
creating build/temp.linux-aarch64-3.4/src
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python3.4m -c src/MD2.c -o build/temp.linux-aarch64-3.4/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jcvy6vtm/pycrypto/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jcvy6vtm/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ob4asedx/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
********************************************************
*             Installation terminée                    *
********************************************************

auriez-vous une idée d’où vient le problème?
merci !

Tu ne serais pas sous jessie (debian 8)?
Si oui, il faudrait passer sous stretch (debian 9).

1 « J'aime »

bonjour, merci pour ce retour.
Et bien… j’avais raté cette info, je ne savais pas qu’on pouvait faire monter la version de la debian.
je vais creuser ce sujet, je viens de trouver ca en beta, je pense que depuis le temps il dois exister une version stable
migration

Pour la Smart, tu as deux méthodes officielles :

  • Recovery mode
  • Restauration image

Bon courage.

Et surtout, pense à ta sauvegarde externalisée.

Ca ne commence pas top via le restauration image :frowning_face:
j’ai un à l’étape 3 (x2)
on va voir si ca tue le truc ou pas.

bloqué à 0%, je passe en mode recovery mode

bonsoir,
la mise a jour est un succes via la recovery mode !
Mais :’(
j’ai toujours mon probleme sur Xiaomi

voici les logs si vous pouvez m’aider?

********************************************************
*             Installation des dépendances             *
********************************************************
Hit:1 http://repo.jeedom.com/odroid stable InRelease
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
Hit:9 https://oph.mdrjr.net/meveric all InRelease
Hit:10 https://oph.mdrjr.net/meveric stretch InRelease
Reading package lists...
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version (3.2.1-6).
libssl-dev is already the newest version (1.1.0l-1~deb9u1).
python-cryptography is already the newest version (1.7.1-3+deb9u2).
python-dev is already the newest version (2.7.13-2).
python-pip is already the newest version (9.0.1-2+deb9u1).
The following packages were automatically installed and are no longer required:
libmemcached11 libmemcachedutil2 libmysqlclient18 libonig2 libpng12-0
libqdbm14 libvpx1 linux-image-3.14.29+ linux-image-arm64-odroid-c2
u-boot-tools
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 199 not upgraded.
Installation du module pycrypto pour python
Collecting pycrypto
Using cached pycrypto-2.6.1.tar.gz (446 kB)
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (setup.py): started
Building wheel for pycrypto (setup.py): still running...
Building wheel for pycrypto (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_thy_d63/pycrypto/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_thy_d63/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-z4fg3n_f
cwd: /tmp/pip-install-_thy_d63/pycrypto/
Complete output (215 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.5
creating build/lib.linux-aarch64-3.5/Crypto
copying lib/Crypto/pct_warnings.py -> build/lib.linux-aarch64-3.5/Crypto
copying lib/Crypto/__init__.py -> build/lib.linux-aarch64-3.5/Crypto
creating build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/MD5.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/hashalgo.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
../..
copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-aarch64-3.5/Crypto/Signature
copying lib/Crypto/Signature/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
running build_configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __gmpz_init in -lgmp... no
checking for __gmpz_init in -lmpir... no
checking whether mpz_powm is declared... no
checking whether mpz_powm_sec is declared... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating src/config.h
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
creating build/temp.linux-aarch64-3.5
creating build/temp.linux-aarch64-3.5/src
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fdebug-prefix-map=/build/python3.5-kWxB2e/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python3.5m -c src/MD2.c -o build/temp.linux-aarch64-3.5/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pycrypto
Running setup.py clean for pycrypto
Failed to build pycrypto
Installing collected packages: pycrypto
Running setup.py install for pycrypto: started
Running setup.py install for pycrypto: still running...
Running setup.py install for pycrypto: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_thy_d63/pycrypto/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_thy_d63/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-xugr4u0y/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5/pycrypto
cwd: /tmp/pip-install-_thy_d63/pycrypto/
Complete output (160 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.5
creating build/lib.linux-aarch64-3.5/Crypto
copying lib/Crypto/pct_warnings.py -> build/lib.linux-aarch64-3.5/Crypto
copying lib/Crypto/__init__.py -> build/lib.linux-aarch64-3.5/Crypto
creating build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/MD5.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/SHA256.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/hashalgo.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/SHA512.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/HMAC.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/MD2.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/RIPEMD.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/MD4.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/SHA.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/SHA384.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/SHA224.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
copying lib/Crypto/Hash/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Hash
creating build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/Blowfish.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/DES3.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/ARC2.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/AES.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/blockalgo.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/CAST.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/XOR.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/ARC4.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/DES.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.linux-aarch64-3.5/Crypto/Cipher
creating build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/number.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/py3compat.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/randpool.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/RFC1751.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/Counter.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/winrandom.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/_number_new.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Util
copying lib/Crypto/Util/asn1.py -> build/lib.linux-aarch64-3.5/Crypto/Util
creating build/lib.linux-aarch64-3.5/Crypto/Random
copying lib/Crypto/Random/random.py -> build/lib.linux-aarch64-3.5/Crypto/Random
copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.linux-aarch64-3.5/Crypto/Random
copying lib/Crypto/Random/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Random
creating build/lib.linux-aarch64-3.5/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.linux-aarch64-3.5/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.linux-aarch64-3.5/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.linux-aarch64-3.5/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Random/Fortuna
creating build/lib.linux-aarch64-3.5/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.linux-aarch64-3.5/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.linux-aarch64-3.5/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.linux-aarch64-3.5/Crypto/Random/OSRNG
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest
copying lib/Crypto/SelfTest/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest
copying lib/Crypto/SelfTest/st_common.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Cipher
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Hash
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Protocol
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/PublicKey
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/Fortuna
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Random/OSRNG
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Util
creating build/lib.linux-aarch64-3.5/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/SelfTest/Signature
creating build/lib.linux-aarch64-3.5/Crypto/Protocol
copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.linux-aarch64-3.5/Crypto/Protocol
copying lib/Crypto/Protocol/Chaffing.py -> build/lib.linux-aarch64-3.5/Crypto/Protocol
copying lib/Crypto/Protocol/KDF.py -> build/lib.linux-aarch64-3.5/Crypto/Protocol
copying lib/Crypto/Protocol/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Protocol
creating build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/pubkey.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/RSA.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/DSA.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/_DSA.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/_RSA.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
copying lib/Crypto/PublicKey/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/PublicKey
creating build/lib.linux-aarch64-3.5/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.linux-aarch64-3.5/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.linux-aarch64-3.5/Crypto/Signature
copying lib/Crypto/Signature/__init__.py -> build/lib.linux-aarch64-3.5/Crypto/Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
running build_configure
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
creating build/temp.linux-aarch64-3.5
creating build/temp.linux-aarch64-3.5/src
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fdebug-prefix-map=/build/python3.5-kWxB2e/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python3.5m -c src/MD2.c -o build/temp.linux-aarch64-3.5/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_thy_d63/pycrypto/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_thy_d63/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-xugr4u0y/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.5/pycrypto Check the logs for full command output.
********************************************************
*             Installation terminée                    *
********************************************************

bon, je ne trouve rien :frowning:
j’ai desinstallé, refait, meme message.
j’aimerais bien un coup de main svp :slight_smile:

le probleme vient d’ici :

pip3 install --user pycrypto

mais je ne comprends pas pourquoi :frowning:

sudo apt install python3-pip

passe nickel, et je suis en python 3.5.3

help :’(

une nouvelle etape de passé !
j’ai trouvé ce site :python

sudo apt-get install gcc python3-dev

= mes dépendances sont ok ! mais pas le démon :sob:

si qqun a une idée, moi, je vais me coucher pour ce soir :slight_smile:

Traceback (most recent call last):
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py", line 26, in <module>
import globals
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/globals.py", line 3, in <module>
from devices.yeelight.flow import *
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/devices/yeelight/__init__.py", line 7, in <module>
from .main import Bulb, BulbException, discover_bulbs
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/devices/yeelight/main.py", line 10, in <module>
from future.utils import raise_from
ImportError: No module named future.utils

bon, je continue par ici, pour centraliser le probleme :slight_smile:
j’ai trouve ça dans un autre post :

$ sudo apt-get install python-future

et maintenant… nouveau message !

ImportError: No module named Crypto.Cipher

Hello,

Lance ceci en root :

pip2 install pycrypto

Si cela fonctionne, n’oublie pas de cocher comme solution.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.

Hello @Loic, @lunarok,

Pour info, j’ai été confronté au même problème que l’auteur concernant les derniers messages d’erreur sur l’installation du plugin.
Il y a quelques semaines, j’avais installé un Jeedom sur une Debian Buster sur VM. Aucun soucis de ce type.

Fin février, installation réalisée sur Odroid (Armbian Buster) et également cette semaine. Même problème que l’auteur qui possède une Smart.

Pour le premier message, j’ai dû installé le paquet python-future. J’avais déjà eu ce « souci » mais c’était sur un système non supporté donc mon problème.

Pour le second problème, à savoir (lors du lancement du démon alors que les dépendances OK) :

ImportError: No module named Crypto.Cipher

Le paquet était bien installé mais visiblement pas en couple avec la bonne version de Python appelé par le plugin.

Voilà à titre d’informations.
Au cas où il y aurait eu une modification spécifique sur les scripts d’installation de Jeedom qui aurait pu générer cela.
Si l’auteur n’avait pas eu le souci sur un Smart, je ne l’aurais pas signalé. Mais dans le doute… Si cela peut être utile…

PS : c’est dommage de clore un sujet 24h après que la solution ait été postée et non 24 après avoir coché la solution. L’auteur a coché mon post (qui datait de plus de 24h) comme solution et le sujet s’est automatiquement clos (il m’a envoyé un MP du coup)

1 « J'aime »

Ce sujet a été automatiquement fermé après 17 heures. Aucune réponse n’est permise dorénavant.