mu-editor third party package

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
luqmaanb
Posts: 1
Joined: Thu Jun 04, 2020 4:22 pm

mu-editor third party package

Post by luqmaanb » Thu Jun 04, 2020 4:36 pm

I am running micropython on a custom ESP32 board. I am using mu-editor on Windows 10.

When I add third party packages using mu-editor, it gets successfully installed in appdata > local > python > mu > site_packages.

When I

Code: Select all

import package
I get error ImportError: no module named 'package'

What am I doing wrong? I've followed https://madewith.mu/mu/users/2019/03/25/alpha1.html

User avatar
aivarannamaa
Posts: 171
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: mu-editor third party package

Post by aivarannamaa » Thu Jun 04, 2020 6:39 pm

As far as I know, Mu doesn't support adding packages to a MicroPython device. Modules under "appdata > local > python > mu > site_packages" are for Mu's regular Python mode.

Someone has tried to add support for what you need, though: https://github.com/mu-editor/mu/issues/1053 but this is not implemented in official Mu.
Aivar Annamaa
https://thonny.org

Post Reply