ImportError: no module named 'inspect' #17139
-
I'm wanting to use the inspect module's Here's the code sample:
The same code works without error running using regular Python. I see the module's code under python-stdlib and there are commits back to 2021, so I don't think it's a case of being too new for the version of MicroPython I'm using (1.24.1). Can anyone tell me what I'm doing wrong? I'm running this on ESP32 if that makes a difference. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Have you tried to install it using mip? It's not part of the modules included by default |
Beta Was this translation helpful? Give feedback.
-
Interestingly, I see from inspect.py that Then it tells me False, which is not right. I would think testing
|
Beta Was this translation helpful? Give feedback.
Have you tried to install it using mip?
It's not part of the modules included by default