[Résolu] Installation Impossible.

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Mat2Vence
Messages : 86
Inscription : 08 févr. 2017, 23:48

[Résolu] Installation Impossible.

Message par Mat2Vence »

Bonsoir à tous,
J'ai une version du plugin Zigate (4.11.07) qui marche plutôt pas mal sur mon installation à base d'un RPi4.

Ayant un Pi3 qui traine et une Zigate USB, je suis en train de monter un setup pour mon beau frère. Mais je n'arrive pas à terminer l'installation du plugin. Au moment de l'installation du package cryptography, l'installation semble tanker.
je me retrouve avec "Building wheel for cryptography (PEP 517) ... /" qui reste comme ça for ever...

Je ne sais pas comment debugger l'affaire et savoir ce qui part en vrac.
Si quelqu'un a déjà eu ce genre de déboire ou si vous avez une idée de comment résoudre mon soucis, je suis preneur de votre aide.

Merci!
Dernière modification par Mat2Vence le 14 nov. 2022, 22:29, modifié 1 fois.
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Installation Impossible.

Message par Keros »

Nous avons regroupé dans le sujet [A lire avant de poster] Guide pour bien formuler une demande une première liste d’informations qui nous sont utiles pour commencer à analyser les demandes. En complétant tes informations, nous pourrons t’apporter plus rapidement des réponses pertinentes. Merci.
Et aussi
pipiche a écrit : 13 nov. 2022, 19:57 quelle version e python3 ?
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mat2Vence
Messages : 86
Inscription : 08 févr. 2017, 23:48

Re: Installation Impossible.

Message par Mat2Vence »

Désolé.
Voici plus d'info :

Python : 3.9.2
Platform : RPi3+
OS : Rasbian 11.5
Domoticz : 2022.2
Zigage V1 USB
Plugin stable6 version 6.3.005

Merci pour le coup de main
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Installation Impossible.

Message par pipiche »

merci de partager le log de la commande

Code : Tout sélectionner

sudo pip install --upgrade pip
sudo pip3 install -r requirements.txt
Mat2Vence
Messages : 86
Inscription : 08 févr. 2017, 23:48

Re: Installation Impossible.

Message par Mat2Vence »

Voilà les log :

Code : Tout sélectionner

pi@vangogh:~/domoticz/plugins/Domoticz-Zigbee $ sudo pip install --upgrade pip


Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (20.3.4)
Collecting pip
  Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 2.2 MB/s
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.4
    Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'pip'. No files were found to uninstall.

Code : Tout sélectionner

pi@vangogh:~/domoticz/plugins/Domoticz-Zigbee $ sudo pip3 install -r requirements.txt

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting aiohttp
  Using cached https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.3-cp39-cp39-linux_armv7l.whl (926 kB)
Collecting aiosignal
  Using cached https://www.piwheels.org/simple/aiosignal/aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting aiosqlite>=0.16.0
  Using cached https://www.piwheels.org/simple/aiosqlite/aiosqlite-0.17.0-py3-none-any.whl (15 kB)
Collecting async-timeout
  Using cached https://www.piwheels.org/simple/async-timeout/async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting attrs
  Using cached https://www.piwheels.org/simple/attrs/attrs-22.1.0-py2.py3-none-any.whl (58 kB)
Collecting click
  Using cached https://www.piwheels.org/simple/click/click-8.1.3-py3-none-any.whl (96 kB)
Collecting click-log>=0.2.1
  Using cached https://www.piwheels.org/simple/click-log/click_log-0.4.0-py2.py3-none-any.whl (4.5 kB)
Collecting crccheck
  Using cached https://www.piwheels.org/simple/crccheck/crccheck-1.3.0-py3-none-any.whl (21 kB)
Collecting coloredlogs
  Using cached https://www.piwheels.org/simple/coloredlogs/coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Collecting jsonschema
  Using cached https://www.piwheels.org/simple/jsonschema/jsonschema-4.17.0-py3-none-any.whl (83 kB)
Collecting frozenlist
  Using cached https://www.piwheels.org/simple/frozenlist/frozenlist-1.3.3-cp39-cp39-linux_armv7l.whl (136 kB)
Collecting multidict
  Using cached https://www.piwheels.org/simple/multidict/multidict-6.0.2-cp39-cp39-linux_armv7l.whl (109 kB)
Collecting pure-pcapy3
  Using cached https://www.piwheels.org/simple/pure-pcapy3/pure_pcapy3-1.0.1-py3-none-any.whl (6.1 kB)
Collecting pyserial==3.5
  Using cached https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting pyserial-asyncio!=0.5
  Using cached https://www.piwheels.org/simple/pyserial-asyncio/pyserial_asyncio-0.6-py3-none-any.whl (7.5 kB)
Collecting pyusb==1.2.1
  Using cached https://www.piwheels.org/simple/pyusb/pyusb-1.2.1-py3-none-any.whl (58 kB)
Collecting typing-extensions
  Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting voluptuous
  Using cached https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
Collecting yarl
  Using cached https://www.piwheels.org/simple/yarl/yarl-1.8.1-cp39-cp39-linux_armv7l.whl (205 kB)
Collecting cryptography
  Using cached cryptography-38.0.3.tar.gz (599 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting dnspython==2.2.1
  Using cached https://www.piwheels.org/simple/dnspython/dnspython-2.2.1-py3-none-any.whl (269 kB)
Collecting charset-normalizer<3.0,>=2.0
  Using cached https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting humanfriendly>=9.1
  Using cached https://www.piwheels.org/simple/humanfriendly/humanfriendly-10.0-py2.py3-none-any.whl (89 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
  Using cached https://www.piwheels.org/simple/pyrsistent/pyrsistent-0.19.2-cp39-cp39-linux_armv7l.whl (102 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from pure-pcapy3->-r requirements.txt (line 14)) (52.0.0)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3/dist-packages (from yarl->-r requirements.txt (line 20)) (2.10)
Collecting cffi>=1.12
  Using cached https://www.piwheels.org/simple/cffi/cffi-1.15.1-cp39-cp39-linux_armv7l.whl (364 kB)
Collecting pycparser
  Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (pyproject.toml) ... |
Je reste en fait stuck là dessus...
Je suis resté devant et y'a de la vie dans le sens ou le dernier caractère change pour me dire qu'il se passe quelques chose.. mais 20 minutes plus tard je suis toujours au même point.
Mat2Vence
Messages : 86
Inscription : 08 févr. 2017, 23:48

Re: Installation Impossible.

Message par Mat2Vence »

.. Je viens de refaire l'installation from scratch (Debian compris).
Je devais avoir fait une boulette jusqu'ici car cette fois-ci je suis arrivé au bout.
Par contre la fameuse étape cryptography aura bien durée un grosse dizaine de minutes.

Je sais pas ce qui a pu faire que c'est passé cette fois.
Je clos le sujet.
Répondre