microdot: Error while import microdot

I am using node mcu esp8266. When I import microdot lib there is error:

ImportError: can't import name Microdot

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (6 by maintainers)

Most upvoted comments

The files in this repo are not broken. If these did not work there would be lots of reports of problems, and yours is the only one.

This is actually easy to troubleshoot on your side. Open microdot.py and see if there is a Microdot class in it. That is what you are importing. If micropython says this symbol does not exist in the file, then you shouldn’t be able to find it, right?