Pyportal MpyError

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
LastAveSF
 
Posts: 5
Joined: Wed Aug 31, 2022 6:49 pm

Pyportal MpyError

Post by LastAveSF »

Hello,

I am getting the this error when using the Pyportal library:

File "adafruit_pyportal/__init__.py", line 32, in <module>
File "adafruit_portalbase/__init__.py", line 26, in <module>
MpyError: Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/mpy-update for more info.

I downloaded and updated the files but it did not solve the error.

Thank you

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Pyportal MpyError

Post by dastels »

Try removing everything in CIRCUITPY/lib, emptying trash, and copying new libs from the latest bundle that matches the version of CircuitPython you are using.

Dave

User avatar
LastAveSF
 
Posts: 5
Joined: Wed Aug 31, 2022 6:49 pm

Re: Pyportal MpyError

Post by LastAveSF »

That worked great. Thank you!

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”