← index #11661Issue #3579
Related · high · value 2.357
QUERY · ISSUE

WebREPL setup fails in PicoW when no boot.py exists on device

openby badger200opened 2023-05-30updated 2024-09-02
bug

import webrepl_setup fails by default unless the user happens to have created a boot.py file on device. Creating an empty boot.py makes import webrepl_setup succeed and ask for a password and reboot.

Pico W
MicroPython latest release 1.20

Getting WebREPL running on my PicoW had a ton of user friction, we need to make it so it's a lot more straightforward, perhaps by enhancing webrepl_setup to ask if they want to auto connect to WiFi, and ask for SSID/pass. Since WebREPL is useless without a WiFi connection.

CANDIDATE · ISSUE

no module named 'webrepl_setup' ESP32

closedby katjapopened 2018-01-23updated 2023-06-30

Uploaded esp32-20180122-v1.9.3-240-ga275cb0f.bin
I'm able to connect to serial REPL, but when I attempt to import webrepl_setup it raised an ImportError

MicroPython v1.9.3-240-ga275cb0f on 2018-01-22; ESP32 module with ESP32
Type "help()" for more information.
>>> I (3971) wifi: pm start, type:0

import webrepl_setup
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: no module named 'webrepl_setup'

is there no webrepl for ESP32?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied