OSError: [Errno 1] EPERM #11060
-
Hi Can anyone help with a wifi error? OSError: [Errno 1] EPERM The context is line 15: wlan.connect(ssid, password) I have tried everything to fix this without success. My platform is the 2040 Challenger NB - 8MB, Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 4 replies
-
EPERM looks like a Windows error not Micropython. Try: try:
wlan.connect(ssid, password)
except OSError as error:
print(f'error is {error}') |
Beta Was this translation helpful? Give feedback.
-
Thanks Dave, Now I get:
|
Beta Was this translation helpful? Give feedback.
-
Line 50: raise RuntimeError('network connection failed') |
Beta Was this translation helpful? Give feedback.
-
Have never seen a RuntumeError() but then again I haven't used the Pico. Seems different to the many problems I have had connecting to WiFi on the ESP32. Are you running an IDE and also what editor are you using? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
import network
|
Beta Was this translation helpful? Give feedback.
-
The claim is the the Challenger supports both MicroPython and CiriutPython |
Beta Was this translation helpful? Give feedback.
-
Thank you Robert, I very much appreciate you checking out there website. |
Beta Was this translation helpful? Give feedback.
Thank you Robert, I very much appreciate you checking out there website.