>>>import network
>>> sta_if=network.WLAN(network.STA_IF)
>>> sta_if.active(1)
>>> sta_if.scan()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: scan failed
ESP8266 wifi OSError
Re: ESP8266 wifi OSError
Did you ever figure this out? Getting the same error on a fresh install of esp8266-20191220-v1.12