Python Forum
RE: import machine module named not found
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RE: import machine module named not found
#1
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'
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020