Im trying to execute demo.py on my Raspberry Pi and I just get the message:
from miflora import miflora_scanner
ImportError: cannot import name 'miflora_scanner' from partially initialized module 'miflora' (most likely due to a circular import)
Can you tell me, what Im doing wrong? Sorry if that is a stupid question, I'm very new to Python.
Many thanks for your help!
Oh I got it! Indeed a stupid one... I named my File miflora.py which causes the error above. After renaming the file it worked great. Thank you for this great script!
Hi
Im trying to execute demo.py on my Raspberry Pi and I just get the message:
from miflora import miflora_scanner ImportError: cannot import name 'miflora_scanner' from partially initialized module 'miflora' (most likely due to a circular import)
Can you tell me, what Im doing wrong? Sorry if that is a stupid question, I'm very new to Python. Many thanks for your help!