zigbeefordomoticz / Domoticz-Zigbee

Zigbee plugin for Domoticz. Allow to connect various zigbee controllers like Zigate but also Texas Instrument CC2531, CC13x2, CC26x2 ; Silicon-Labs; deConz based chipset to be connected to Domoticz
GNU General Public License v3.0
99 stars 43 forks source link

failed to load 'plugin.py' #1650

Closed Jacobsentertainment closed 11 months ago

Jacobsentertainment commented 11 months ago

Hello all, I followed the steps as per the instructions for linux Buster. After completing the installation without any error messages, I installed the plugin in domoticz. At the time of adding, the following error comes up.

2023-09-20 10:17:16.799 Error: zigate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2023-09-20 10:17:16.803 Error: zigate: Traceback (most recent call last): 2023-09-20 10:17:16.803 Error: zigate: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 99, in <module> 2023-09-20 10:17:16.803 Error: zigate: from importlib.metadata import version as import_version 2023-09-20 10:17:16.803 Error: zigate: ModuleNotFoundError: No module named 'importlib.metadata'

I have no idea what is going wrong here and have minimal linux experience. Any help is welcome.

To Reproduce Steps to reproduce the behavior:

  1. Reinstalled the plugin from scratch
  2. Added to domoticz, same error in the domoticz log.
  3. Stopped the plugin and removed from the domoticz hardware list, as the errors keep building up.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Plugin (please complete the following information):

Additional context Add any other context about the problem here.

pipiche38 commented 11 months ago

Unfortunatly buster is not supported with the plugin 7.x, so kindly upgrade to bullseye in order to get python3.8

Jacobsentertainment commented 11 months ago

Good to know, thanks for the reply