ckoever/micropython-firebase-realtime-database

No Module _thread

Closed this issue · 1 comments

import ufirebase
Traceback (most recent call last):
File "", line 1, in
File "ufirebase.py", line 4, in
ImportError: no module named '_thread'

Which version of Micropython are you using?
Which microcontroller do you use?

Try to run help("modules"). If "_thread" is not listed, your micropython version does not support this firebase module. In this case you can delete the line in "ufirebase.py" with "import _thread" and always have to add "bg = False" to the functions.

Example:
firebase.delete("count", bg=False)