Skip to content

No Module _thread #1

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

Closed
kalpitakolkar69 opened this issue Oct 3, 2021 · 1 comment
Closed

No Module _thread #1

kalpitakolkar69 opened this issue Oct 3, 2021 · 1 comment
Labels
help wanted Extra attention is needed noanswer No answer received.

Comments

@kalpitakolkar69
Copy link

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

@ckoever
Copy link
Owner

ckoever commented Oct 3, 2021

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)

@ckoever ckoever closed this as completed Oct 20, 2021
@ckoever ckoever added help wanted Extra attention is needed invalid This doesn't seem right noanswer No answer received. and removed invalid This doesn't seem right labels Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed noanswer No answer received.
Projects
None yet
Development

No branches or pull requests

2 participants