Hello,
Why my VS Code IDE showing error message: Unable to import machine module?
Unable to import machine module
Re: Unable to import machine module
Because the machine module does not exist in CPython. You can ignore that warning.
Re: Unable to import machine module
This has been asked here before if I remember correctly, there are 'fake' machine modules available which CPython can use to get an idea of what the machine module does on MicroPython. Search the forum (or something else) for 'typesheds'.
Alternatively you might be able to instruct pylint to ignore those specific modules, not sure if it can do that.
Alternatively you might be able to instruct pylint to ignore those specific modules, not sure if it can do that.