Python Forum
unable to flash micropython to esp 32: open serial error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to flash micropython to esp 32: open serial error
#4
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.

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


Messages In This Thread
RE: import machine module named not found - by vikram20 - Oct-09-2019, 07:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  The Open Open Open Source Project GareBearH 1 2,669 May-14-2021, 10:48 AM
Last Post: Larz60+
  installed pycharm here - how to proceed with micropython apollo 0 1,812 Sep-27-2019, 02:36 PM
Last Post: apollo
  micropy-cli solution - enabling VSCode to program on esp 32 with MicroPython :: apollo 0 1,730 Sep-19-2019, 05:03 PM
Last Post: apollo
  Flash an old tablet with a new android? metulburr 4 4,862 Aug-08-2019, 08:44 PM
Last Post: Larz60+
  installing Linux on Flash Drive Larz60+ 9 6,892 Sep-18-2017, 02:03 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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