← index #9048Issue #308
Off-topic · high · value 3.723
QUERY · ISSUE

Installing MicroPython Asyncio from Thonny Package Manager Successful, But import of uasyncio module fails?

openby Jibun-no-Kageopened 2022-08-13updated 2022-08-13
bug

Consistent and repeatable... ValueError: incompatible .mpy file results on module import. Installing MicroPython Asyncio from Thonny Package Manager Successful, But import of uasyncio module fails? Please fix.

Using latest nightly build same issue.

CANDIDATE · ISSUE

No module named uasyncio - PyBoard V1.1

closedby rlnkttopened 2018-09-22updated 2024-08-27

I have been looking to give 'uasyncio' a try. But whenever I try to import the module in the PyBoard that I use, I get this weird import error saying 'no module named uasyncio'.

Am I lagging any additional package installations

Any help is greatly appreciated!!
sshot_uasyncio

2 comments
kimothokamau · 2019-09-09

If you run help ('modules') you should see uasyncio/core uasyncio/queues and uasyncio/synchro as in the attached image. If they don't exist it means they are not included in your firmware, you need to download them and recompile your firmware.

jonnor · 2024-08-25

Recent versions of MicroPython for stm32/pyboard should include asyncio. If the issue persists on 1.23+ or later, please re-open with details of which firmware build you use.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied