Error no module named 'network' #10069
Replies: 3 comments 5 replies
-
Can you provide some more information? Have you changed anything on your device? Is it running Pico W (not Pico) firmware? If you hit Ctrl-B at the REPL, what's the version information that is printed out? |
Beta Was this translation helpful? Give feedback.
-
I hit this the other day. The answer was embarrassingly simple: I'd installed firmware for Pico instead of Pico W. |
Beta Was this translation helpful? Give feedback.
-
I might be confusing 2 issues here. Let me start simply... On a third Pico W (not the one running my code) I went through the above steps and it keeps connecting and disconnecting as a serial port ( once every few seconds.) However, the problem is with the PIco W that has the main.py code (that has been running stand-alone for a few months.) Traceback (most recent call last): Type "help()" for more information. Connection lost -- EOF Use Stop/Restart to reconnect. Process ended with exit code 1. Needless to say, without a connection I cannot get at the main.py file on the Pico W. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A few months ago I wrote code for the Pico W and successfully imported the network module. Revisiting the same code n ow results in an error importing the network module.
What changed?
Beta Was this translation helpful? Give feedback.
All reactions