Skip to content

ThreadSafeQueue import error #104

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
beyonlo opened this issue May 18, 2023 · 1 comment
Closed

ThreadSafeQueue import error #104

beyonlo opened this issue May 18, 2023 · 1 comment

Comments

@beyonlo
Copy link

beyonlo commented May 18, 2023

$ mpremote 
Connected to MicroPython at /dev/ttyACM0
Use Ctrl-] to exit this shell
>>> 
>>> import os
>>> os.uname()
(sysname='esp32', nodename='esp32', release='1.20.0', version='v1.20.0 on 2023-04-26', machine='ESP32S3 module (spiram) with ESP32S3')
>>> from primitives import ThreadSafeQueue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "primitives/__init__.py", line 59, in __getattr__
AttributeError: ThreadSafeQueue
>>> 
@beyonlo beyonlo changed the title ThreadSafeQueue error on import ThreadSafeQueue import error May 18, 2023
@beyonlo
Copy link
Author

beyonlo commented May 18, 2023

Sorry, my fault. I see an old example, but now has a dedicated dir threadsafe

@beyonlo beyonlo closed this as completed May 18, 2023
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