Open mhsmith opened 2 weeks ago
Caused by https://github.com/pyscript/pyscript/issues/2035, so should be fixed by upgrading to PyScript 2024.4.2.
Unfortunately PyScript 2024.4.2 still has some problems with MicroPython and asyncio:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "invent/__init__.py", line 21, in <module>
File "invent/channels.py", line 21, in <module>
File "invent/task.py", line 5, in <module>
ImportError: no module named 'asyncio'
It shows this in the console, but I don't see any indication of what file wasn't found:
If I change
type="mpy"
totype="py"
, then it works fine.It looks like this problem was introduced by #104, as the previous main branch commit (7ccfed17458c02ded030545e381da3f90cb8dc6f) works fine.