Python Forum

Full Version: RE: import machine module named not found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
Can anybody help me on the below ?
working on ESP8266 with Micropython and flashing was perfect.
Managed to install import esptool but its not working as I tried to 'import machine' error says
'no module named found'. 'import network'doesnot shows error but shows WLAN is not defined.
I tried 'pip install micropython-machine also but shows some error.
Plz support me on the same.

>>> import esp
>>> import machine
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'machine'