micropython-async icon indicating copy to clipboard operation
micropython-async copied to clipboard

OPENMV 4 AttributeError: 'module' object has no attribute 'deque'

Open skylin008 opened this issue 5 years ago • 2 comments

Hi, had coording to the guide doc copy the related file to asyncio folder . When I run the auart.py on OPENMV4,but any error as show: 'module' object has no attribute 'deque',how to solve this issue.The OPENMV4 firmware is : MicroPython v1.11-omv OpenMV v3.5.1 2019-12-06; OPENMV4-STM32H743 Thanks!

skylin008 avatar Feb 23 '20 09:02 skylin008

This is an issue with the openmv firmware build, and implies it is unable to run official uasyncio. This could be taken up with openmv.

The file core.py in uasyncio uses ucollections.dequeue, and this is provided by the file py/modcollections.c in the source tree. If you have access to the openmv source tree (I don't know if this is available) you might want to investigate.

peterhinch avatar Feb 23 '20 10:02 peterhinch

Thanks for your kindly advice,I will be try!

skylin008 avatar Feb 23 '20 12:02 skylin008