Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'miflora.backends' #174

Open
delesy opened this issue Oct 16, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'miflora.backends' #174

delesy opened this issue Oct 16, 2023 · 0 comments

Comments

@delesy
Copy link

delesy commented Oct 16, 2023

Hi,
I cannot receive information from miflora.
I have install pygatt:
"pip3 install pygatt
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pygatt in /home/delegove/.local/lib/python3.11/site-packages (4.0.5)
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from pygatt) (3.5)
Requirement already satisfied: enum-compat in /home/delegove/.local/lib/python3.11/site-packages (from pygatt) (0.0.3)
"
If I do "sudo python3 miflora_poller.py"
I receive:
"@raspberrypi:~/domoticz/plugins/Mi_Flower_mate_plugin/miflora $ sudo python3 miflora_poller.py
Traceback (most recent call last):
File "/home/delegove/domoticz/plugins/Mi_Flower_mate_plugin/miflora/miflora_poller.py", line 9, in
from miflora.backends import BluetoothInterface, BluetoothBackendException
ModuleNotFoundError: No module named 'miflora.backends'
"
An idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant