Microdot, Micropython and Raspberry Pi Pico W #109
Replies: 5 comments
-
No, this has to be something that is wrong on your side, since I've personally tested the Pico W recently. Can you show me a directory listing with all the files that you have on your device, including their sizes? My guess is that your microdot.py is corrupted or invalid. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
probably it's trying to import from microdot folder and not microdot.py file. |
Beta Was this translation helpful? Give feedback.
-
@raven703 that was it exactly! Thanks raven703! |
Beta Was this translation helpful? Give feedback.
-
Oh, I see, so you put the microdot files inside a
The first |
Beta Was this translation helpful? Give feedback.
-
I am attempting to use Microdot with Micropython v1.19.1-88-g74e33e714 on a Raspberry Pi Pico W.
When I attempt to import a class from the microdot.py file (from microdot import Microdot) I receive the following error:
Traceback (most recent call last):
File "", line 1, in
ImportError: no module named 'microdot.Microdot'
When I import as a whole (import microdot) it imports, but none of the classes are available (app = Microdot() )
Is this an issue with Microdot not being supported by this version of Micropython?
Thanks in advance
-- Mike
Beta Was this translation helpful? Give feedback.
All reactions