owagner / modbus2mqtt

Modbus master which publishes via MQTT
MIT License
121 stars 81 forks source link

No module named 'serial #9

Open jacopsd opened 6 months ago

jacopsd commented 6 months ago

HA Core 2024.4.4 HA OS 11.5

Suddenly these errors appear in the log, and the module doesn't work anymore:

  File "/app/./modbus2mqtt.py", line 2, in <module>
    from  modbus2mqtt.modbus2mqtt import main
  File "/app/modbus2mqtt/modbus2mqtt.py", line 33, in <module>
    import serial
ModuleNotFoundError: No module named 'serial'

Tried 'pip install pyserial' in the console, but that doesn't work