title: How to fix the '[Network] module not found' error in Micropython on Raspberry Pi?
body: <p>I recently installed Micropython on my Raspberry Pi model 3. I followed all the steps mentioned in the Raspberry pi - how to guide. <a href="https://www.raspberrypi.org/forums/viewtopic.php?t=191744" rel="nofollow noreferrer">https://www.raspberrypi.org/forums/viewtopic.php?t=191744</a></p>
  
  <p>But, when I try to import the network module, it throws a 'module not found' error. I have searched a lot for the solution to my problem, but haven't found a solution yet.</p>
  
  <p>I searched for the micropython-network module but it is not available on <a href="https://pypi.org/search/?q=micropython+network" rel="nofollow noreferrer">https://pypi.org/search/?q=micropython+network</a>
  The closest ones are micropython-cpython-network and network. I tried using the network module but it doesn't contain the functions that I require (e.g.: WLAN).
  Also, I have used Micropython on the ESP32. It works fine. No errors.</p>
  
  <p>I think this is something Raspberry Pi-specific.</p>
  
  <p>When I write this:</p>
  
  <pre class="lang-py prettyprint-override"><code>import network
  </code></pre>
  
  <p>The error message shows:</p>
  
  <pre class="lang-py prettyprint-override"><code>Traceback (most recent call last):
    File "&lt;stdin&gt;" ,line 1, in &lt;module&gt;
  ImportError: no module named 'network'
  </code></pre>