wlan.active(True) 出错PROBLEM IN THONNY‘S BACK-END: Exception while handling ‘execute_source‘

错误

>>> import network
>>> wlan = network.WLAN(network.STA_IF) 
>>> wlan.active(True)  
PROBLEM IN THONNY'S BACK-END: Exception while handling 'execute_source' (ConnectionError: EOF).
See Thonny's backend.log for more info.
You may need to press "Stop/Restart" or hard-reset your MicroPython device and try again.


Process ended with exit code 1.

解决办法

太新的版本不稳定,换一个旧的固件版本
wlan.active(True) 出错PROBLEM IN THONNY‘S BACK-END: Exception while handling ‘execute_source‘_第1张图片
wlan.active(True) 出错PROBLEM IN THONNY‘S BACK-END: Exception while handling ‘execute_source‘_第2张图片

你可能感兴趣的:(嵌入式,ESP32,python,micropython)