Micropython on Linux, problen with *.mpy
Posted: Fri Mar 26, 2021 5:12 pm
Compiled on Ubuntu, it works.
I wanted to install a library uasyncio.
Run program
I get an error.
I wanted to install a library uasyncio.
Code: Select all
alex@ub2:~/micropython$ ./python -m upip install micropython-uasyncio
Installing to: /home/alex/.micropython/lib/
Installing micropython-uasyncio 3.0 from https://micropython.org/pi/uasyncio/uasyncio-3.0.tar.gz
alex@ub2:~$ ls ~/.micropython/lib/uasyncio
core.mpy __init__.mpy stream.mpy task.mpy
I get an error.
Code: Select all
Traceback (most recent call last):
File "/home/alex/PycharmProjects/pythonProject/main.py", line 16, in <module>
ValueError: incompatible .mpy file