Probleme installation dépendances

Bonjour à tous,

voici plusieurs jours que je me bats pour réussir à lancer le plugins Zigbee, mais je suis en échec malgré mes recherches sur le forum.

Je suis sur un RPI 3B armbian buster à jour, le plugins zigbee à déjà fonctionné sur cette machine mais depuis un moment celui-ci ne fonctionne plus L’hivers arrivant et gérant plusieurs sondes de température pour le chauffage je me suis donc décidé à remettre tout ça en route.

J’ai essayé de suivre la méthode de loic, mais toujours la même chose, j’ai désinstallé le plugins et réinstallé aucun changement.
J’ai toujours une erreur sur l’installation du paquet ‹ cryptography 38.0.1 ›, ci après le log.

Merci par avance.

Collecting jsonschema
  Downloading https://www.piwheels.org/simple/jsonschema/jsonschema-4.16.0-py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.1/83.1 kB 2.5 MB/s eta 0:00:00
Collecting cryptography
  Downloading cryptography-38.0.1.tar.gz (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 2.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      
              =============================DEBUG ASSISTANCE==========================
              If you are seeing an error here please try the following to
              successfully install cryptography:
      
              Upgrade to the latest pip and try again. This will fix errors for most
              users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
              =============================DEBUG ASSISTANCE==========================
      
      Traceback (most recent call last):
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
        File "/tmp/pip-build-env-y_3lip4x/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in <module>
          from .build import build_rust
        File "/tmp/pip-build-env-y_3lip4x/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 26, in <module>
          from typing_extensions import Literal
      ImportError: cannot import name 'Literal' from 'typing_extensions' (/usr/local/lib/python3.7/dist-packages/typing_extensions.py)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
+ echo 14
+ sudo pip3 install --no-cache-dir --force-reinstall --upgrade zigpy-xbee==0.15.0
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting zigpy-xbee==0.15.0
  Downloading https://www.piwheels.org/simple/zigpy-xbee/zigpy_xbee-0.15.0-py3-none-any.whl (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 1.2 MB/s eta 0:00:00
Collecting pyserial-asyncio
  Downloading https://www.piwheels.org/simple/pyserial-asyncio/pyserial_asyncio-0.6-py3-none-any.whl (7.5 kB)
Collecting zigpy>=0.47.0
  Downloading https://www.piwheels.org/simple/zigpy/zigpy-0.51.2-py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.2/148.2 kB 2.9 MB/s eta 0:00:00
Collecting aiohttp
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.3-cp37-cp37m-linux_armv7l.whl (486 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 486.5/486.5 kB 3.1 MB/s eta 0:00:00
Collecting crccheck
  Downloading https://www.piwheels.org/simple/crccheck/crccheck-1.2.0-py3-none-any.whl (24 kB)
Collecting yarl
  Downloading https://www.piwheels.org/simple/yarl/yarl-1.8.1-cp37-cp37m-linux_armv7l.whl (94 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 2.4 MB/s eta 0:00:00
Collecting aiosqlite>=0.16.0
  Downloading https://www.piwheels.org/simple/aiosqlite/aiosqlite-0.17.0-py3-none-any.whl (15 kB)
Collecting voluptuous
  Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
Collecting cryptography
  Downloading cryptography-38.0.1.tar.gz (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 2.6 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      
              =============================DEBUG ASSISTANCE==========================
              If you are seeing an error here please try the following to
              successfully install cryptography:
      
              Upgrade to the latest pip and try again. This will fix errors for most
              users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
              =============================DEBUG ASSISTANCE==========================
      
      Traceback (most recent call last):
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
        File "/tmp/pip-build-env-vn6odhgx/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in <module>
          from .build import build_rust
        File "/tmp/pip-build-env-vn6odhgx/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 26, in <module>
          from typing_extensions import Literal
      ImportError: cannot import name 'Literal' from 'typing_extensions' (/usr/local/lib/python3.7/dist-packages/typing_extensions.py)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
+ echo 15
+ sudo pip3 install --no-cache-dir --force-reinstall --upgrade zigpy-deconz==0.18.1
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting zigpy-deconz==0.18.1
  Downloading https://www.piwheels.org/simple/zigpy-deconz/zigpy_deconz-0.18.1-py3-none-any.whl (31 kB)
Collecting zigpy>=0.47.0
  Downloading https://www.piwheels.org/simple/zigpy/zigpy-0.51.2-py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.2/148.2 kB 2.2 MB/s eta 0:00:00
Collecting pyserial-asyncio
  Downloading https://www.piwheels.org/simple/pyserial-asyncio/pyserial_asyncio-0.6-py3-none-any.whl (7.5 kB)
Collecting cryptography
  Downloading cryptography-38.0.1.tar.gz (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 2.9 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      
              =============================DEBUG ASSISTANCE==========================
              If you are seeing an error here please try the following to
              successfully install cryptography:
      
              Upgrade to the latest pip and try again. This will fix errors for most
              users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
              =============================DEBUG ASSISTANCE==========================
      
      Traceback (most recent call last):
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
        File "/tmp/pip-build-env-1fwkb_yq/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in <module>
          from .build import build_rust
        File "/tmp/pip-build-env-1fwkb_yq/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 26, in <module>
          from typing_extensions import Literal
      ImportError: cannot import name 'Literal' from 'typing_extensions' (/usr/local/lib/python3.7/dist-packages/typing_extensions.py)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
+ echo 16
+ sudo pip3 install --no-cache-dir --force-reinstall --upgrade zigpy-zigate==0.9.2
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting zigpy-zigate==0.9.2
  Downloading https://www.piwheels.org/simple/zigpy-zigate/zigpy_zigate-0.9.2-py3-none-any.whl (39 kB)
Collecting gpiozero
  Downloading https://www.piwheels.org/simple/gpiozero/gpiozero-1.6.2-py2.py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.9/148.9 kB 2.3 MB/s eta 0:00:00
Collecting pyserial-asyncio>=0.5
  Downloading https://www.piwheels.org/simple/pyserial-asyncio/pyserial_asyncio-0.6-py3-none-any.whl (7.5 kB)
Collecting pyserial>=3.5
  Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 3.5 MB/s eta 0:00:00
Collecting zigpy>=0.47.0
  Downloading https://www.piwheels.org/simple/zigpy/zigpy-0.51.2-py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.2/148.2 kB 2.6 MB/s eta 0:00:00
Collecting pyusb>=1.1.0
  Downloading https://www.piwheels.org/simple/pyusb/pyusb-1.2.1-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.4/58.4 kB 2.1 MB/s eta 0:00:00
Collecting aiohttp
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.3-cp37-cp37m-linux_armv7l.whl (486 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 486.5/486.5 kB 2.5 MB/s eta 0:00:00
Collecting yarl
  Downloading https://www.piwheels.org/simple/yarl/yarl-1.8.1-cp37-cp37m-linux_armv7l.whl (94 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 2.4 MB/s eta 0:00:00
Collecting aiosqlite>=0.16.0
  Downloading https://www.piwheels.org/simple/aiosqlite/aiosqlite-0.17.0-py3-none-any.whl (15 kB)
Collecting crccheck
  Downloading https://www.piwheels.org/simple/crccheck/crccheck-1.2.0-py3-none-any.whl (24 kB)
Collecting voluptuous
  Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
Collecting cryptography
  Downloading cryptography-38.0.1.tar.gz (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 3.0 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      
              =============================DEBUG ASSISTANCE==========================
              If you are seeing an error here please try the following to
              successfully install cryptography:
      
              Upgrade to the latest pip and try again. This will fix errors for most
              users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
              =============================DEBUG ASSISTANCE==========================
      
      Traceback (most recent call last):
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
        File "/tmp/pip-build-env-yfw50g5s/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in <module>
          from .build import build_rust
        File "/tmp/pip-build-env-yfw50g5s/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 26, in <module>
          from typing_extensions import Literal
      ImportError: cannot import name 'Literal' from 'typing_extensions' (/usr/local/lib/python3.7/dist-packages/typing_extensions.py)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
+ echo 17
+ sudo pip3 install --no-cache-dir --force-reinstall --upgrade bellows==0.33.1
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting bellows==0.33.1
  Downloading https://www.piwheels.org/simple/bellows/bellows-0.33.1-py3-none-any.whl (194 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.2/194.2 kB 2.8 MB/s eta 0:00:00
Collecting pyserial
  Downloading https://www.piwheels.org/simple/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 4.2 MB/s eta 0:00:00
Collecting voluptuous
  Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
Collecting zigpy>=0.50.0
  Downloading https://www.piwheels.org/simple/zigpy/zigpy-0.51.2-py3-none-any.whl (148 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.2/148.2 kB 2.6 MB/s eta 0:00:00
Collecting pyserial-asyncio
  Downloading https://www.piwheels.org/simple/pyserial-asyncio/pyserial_asyncio-0.6-py3-none-any.whl (7.5 kB)
Collecting pure-pcapy3==1.0.1
  Downloading https://www.piwheels.org/simple/pure-pcapy3/pure_pcapy3-1.0.1-py3-none-any.whl (6.1 kB)
Collecting click-log>=0.2.1
  Downloading https://www.piwheels.org/simple/click-log/click_log-0.4.0-py2.py3-none-any.whl (4.5 kB)
Collecting click
  Downloading https://www.piwheels.org/simple/click/click-8.1.3-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 2.1 MB/s eta 0:00:00
Collecting setuptools
  Downloading https://www.piwheels.org/simple/setuptools/setuptools-65.4.1-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.6 MB/s eta 0:00:00
Collecting yarl
  Downloading https://www.piwheels.org/simple/yarl/yarl-1.8.1-cp37-cp37m-linux_armv7l.whl (94 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 kB 3.4 MB/s eta 0:00:00
Collecting cryptography
  Downloading cryptography-38.0.1.tar.gz (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 3.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      
              =============================DEBUG ASSISTANCE==========================
              If you are seeing an error here please try the following to
              successfully install cryptography:
      
              Upgrade to the latest pip and try again. This will fix errors for most
              users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
              =============================DEBUG ASSISTANCE==========================
      
      Traceback (most recent call last):
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
        File "/tmp/pip-build-env-korfo8ia/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in <module>
          from .build import build_rust
        File "/tmp/pip-build-env-korfo8ia/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 26, in <module>
          from typing_extensions import Literal
      ImportError: cannot import name 'Literal' from 'typing_extensions' (/usr/local/lib/python3.7/dist-packages/typing_extensions.py)
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
+ echo 18
+ sudo pip3 install --no-cache-dir --force-reinstall --upgrade zigpy==0.50.3
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
Collecting zigpy==0.50.3
  Downloading https://www.piwheels.org/simple/zigpy/zigpy-0.50.3-py3-none-any.whl (143 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 2.4 MB/s eta 0:00:00
Collecting aiohttp
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.3-cp37-cp37m-linux_armv7l.whl (486 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 486.5/486.5 kB 2.6 MB/s eta 0:00:00
Collecting crccheck
  Downloading https://www.piwheels.org/simple/crccheck/crccheck-1.2.0-py3-none-any.whl (24 kB)
Collecting voluptuous
  Downloading https://www.piwheels.org/simple/voluptuous/voluptuous-0.13.1-py3-none-any.whl (35 kB)
Collecting cryptography
  Downloading cryptography-38.0.1.tar.gz (599 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 3.3 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]

zigbee_packages.txt (38,1 Ko)

Est ce que vous êtes sur la dernière mise a jour ?
Avez vous suivi les conseils donnés dans la documentation en cas d’échec d’installation des dépendances ?
Avec vous mis a jour le firmware de votre clef selon les procédures constructeur ?
Avez vous vérifier que tout les package système était installé correctement ?

Jeedom 4.2.21

Concernant les conseils dans la documentation en cas d’echec d’installation des dépendances, j’ai déjà essayé ça :

LoicTeam Jeedom

11

17 juin

Bonjour,

IMPORTANT : attention a regarder la log du demon si vous avez un base.Timeout en erreur c’est un autre probleme qui est détaillé dans la documentation ainsi que sa correction.

IMPORTANT : pour l’erreur « Building wheel for cryptography (pyproject.toml) … » et l’installation des dépendances qui freeze, malheureusement je ne sais pas corriger et je n’ai aucune piste et pour être franc je comprends a peine ce que je fais et n’ai pas les compétences pour creuser ce point. Je ne vois donc comme solution qu’une réinstallation OS ou d’usine (après avoir récupéré un backup) en espérant que ça corrige le soucis.

Il y a actuellement un soucis sur le plugin zigbee si vous lancez l’installation des dépendances, le démon ne démarre plus. C’est du a une modification dans zigpy 0.47.0 qui ne semble pas en accord avec les packages pour les différents contrôleur.

J’ai mis en place les corrections nécessaire dans la version beta du plugin zigbee (disponible demain sur le market) qui fixe la version de zigpy en 0.46.0 malheureusement pour que ça marche il faut aussi le core en beta (ou alpha). Je vais faire les demandes nécessaire à Jeedom SAS pour que les tests soit fait sur ces nouvelles version puis si c’est ok passer en stable.

En attendant vous pouvez si vous rencontrer le soucis aller dans la configuration de jeedom puis ongle OS/DB lancer la console systeme et faire :

sudo pip3 install --force-reinstall  --upgrade zigpy-deconz==0.16.0
sudo pip3 install --force-reinstall  --upgrade zigpy-znp==0.7.0
sudo pip3 install --force-reinstall  --upgrade zigpy==0.46.0
sudo rm -rf /usr/local/lib/python3.7/dist-packages/zigpy-0.47.0.dist-info

Si le soucis persiste faire :

sudo rm -rf /usr/local/lib/python3.7/dist-packages/zigpy*

Puis relancer les dépendances.

MAJ : le 22/06/2022 la beta repassera sur la branche 0.47 de zigpy qui a semble-t-il corrigé les soucis de jeunesse de cette version. Il y a par contre une redécouverte a faire de certain module ou même une reinclusion dans certain cas (aucune idée de pourquoi ni ce qui sera impacté chez vous)

MAJ2 : pour ceux sur le beta en deconz il y a un bug connu coté zigpy voila l’issue

Firmware de la clef, pas vérifié, mais pas le problème pour le moment.

Package :


Et quand je lance les correction, par exemple pour zigpy :

+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://phoscon.de/apt/deconz buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ sudo pip3 install --no-cache-dir --force-reinstall --upgrade zigpy
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting zigpy
Downloading https://www.piwheels.org/simple/zigpy/zigpy-0.51.2-py3-none-any.whl (148 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.2/148.2 kB 2.5 MB/s eta 0:00:00
Collecting aiohttp
Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.3-cp37-cp37m-linux_armv7l.whl (486 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 486.5/486.5 kB 1.2 MB/s eta 0:00:00
Collecting cryptography
Downloading cryptography-38.0.1.tar.gz (599 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 599.4/599.4 kB 5.2 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in 
main()
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/usr/local/lib/python3.7/dist-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "", line 17, in 
File "/tmp/pip-build-env-urk3w86n/overlay/lib/python3.7/site-packages/setuptools_rust/__init__.py", line 1, in 
from .build import build_rust
File "/tmp/pip-build-env-urk3w86n/overlay/lib/python3.7/site-packages/setuptools_rust/build.py", line 26, in 
from typing_extensions import Literal
ImportError: cannot import name 'Literal' from 'typing_extensions' (/usr/local/lib/python3.7/dist-packages/typing_extensions.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)
WARNING: Ignoring invalid distribution -etuptools (/usr/local/lib/python3.7/dist-packages)

Je pensais plus à ce qui est dans la doc :
Je n’arrive pas a installer les dépendances

Cela peut venir d’un soucis avec la version de pip3, pour corriger il faut aller dans la configuration de Jeedom, onglet OS/DB puis lancer la console OS et faire : sudo pip3 install --upgrade pip puis relancer l’installation des dépendances. Si ca ne marche pas vous pouvez essayer de faire sudo apt remove -y python3-openssl;sudo pip3 install --upgrade pip et relancer l’installation des dépendances.

Je vous conseil tout de même de vérifier l’ensemble des points donnés plus haut, c’est ce qui a permis à d’autre de sortir de cet embuche.

Je dis peut être une connerie mais le problème cryptography ça serait pas comme le plugin xiaomihome et rust ?