lolouk44 / xiaomi_mi_scale

Connector for Xiaomi Mi Scale
MIT License
323 stars 69 forks source link

Added fixes! #60

Open Hipokys opened 1 year ago

Hipokys commented 1 year ago

Hello! Debian 12 fixes:

1. Running script directly on your host system: .............................................. Install python requirements (pip3 install -r requirements.txt --break-system-packages) # added --break-system-packages

2. Xiaomi_Scale.py

!/usr/bin/python

-- coding: utf-8 --

import asyncio import binascii import collections # added collections.Iterable = collections.abc.Iterable # added from bleak import BleakScanner from collections import namedtuple

Hipokys commented 1 year ago
  1. https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#python3-pep-668
  2. https://github.com/Deci-AI/super-gradients/issues/1208