ValueError: incompatible .mpy file
fanlessfan opened this issue · 1 comments
fanlessfan commented
I got error when I try to import ina219.mpy in a ESP8266 broad. (D1 mini)
Traceback (most recent call last):
File "", line 1, in
ValueError: incompatible .mpy file
chrisb2 commented
Sorry I should have deleted the .mpy files a long time ago, they are not portable between versions of micropython and I would have to build and maintain a load of versions. You can build them yourself as explained in:
https://github.com/micropython/micropython/tree/master/mpy-cross
Quickest way to get going is probably docker image mentioned in:
https://github.com/micropython/micropython/tree/master/ports/esp8266
Chris