I had success with:
C:\Users\Thomas\AppData\Local\Programs\Python\Python310>python.exe -m pip install --upgrade pip
C:\Users\Thomas\AppData\Local\Programs\Python\Python310\Scripts>pip install 'bleak'
C:\Users\Thomas\AppData\Local\Programs\Python\Python310\Scripts>pip install bluetti_mqtt
I tried the same on my Raspberry, no luck. Still the same error message:
pi@raspberrypi:~ $
pip install --upgrade pip
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Collecting pip
Downloading
https://files.pythonhosted.org/pack...d2d02789accf7/pip-20.3.4-py2.py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 250kB/s
Installing collected packages: pip
Successfully installed pip-20.3.4
pi@raspberrypi:~ $
pip install 'bleak'
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see
https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Collecting bleak
Downloading bleak-0.16.0-py2.py3-none-any.whl (125 kB)
|████████████████████████████████| 125 kB 1.3 MB/s
ERROR: Could not find a version that satisfies the requirement typing-extensions>=4.2.0 (from bleak) (from versions: 3.6.2, 3.6.2.1, 3.6.5, 3.6.6, 3.7.2, 3.7.4, 3.7.4.1, 3.7.4.2, 3.7.4.3, 3.10.0.0, 3.10.0.1, 3.10.0.2)
ERROR: No matching distribution found for typing-extensions>=4.2.0 (from bleak)
pi@raspberrypi:~ $
pi@raspberrypi:~ $
pip install bluetti_mqtt
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see
https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
Collecting bluetti_mqtt
Using cached bluetti_mqtt-0.1.tar.gz (5.8 kB)
Collecting bleak
Using cached bleak-0.16.0-py2.py3-none-any.whl (125 kB)
Collecting crcmod
Using cached crcmod-1.7.tar.gz (89 kB)
ERROR: Could not find a version that satisfies the requirement typing-extensions>=4.2.0 (from bleak->bluetti_mqtt) (from versions: 3.6.2, 3.6.2.1, 3.6.5, 3.6.6, 3.7.2, 3.7.4, 3.7.4.1, 3.7.4.2, 3.7.4.3, 3.10.0.0, 3.10.0.1, 3.10.0.2)
ERROR: No matching distribution found for typing-extensions>=4.2.0 (from bleak->bluetti_mqtt)