title: ModuleNotFoundError: No module named 'machine'
body: <p>when I try to control my esp32 microcontorller with micropython I get the following error:</p>
  <pre><code>  File &quot;c:/Users/supre/Documents/Python Programme/micropython/blinktest.py&quot;, line 1, in &lt;module&gt;
      from machine import Pin
  ModuleNotFoundError: No module named 'machine'
  </code></pre>
  <p>I try to test the basic blinktest code:</p>
  <pre><code>from machine import Pin
  import time
  
  led = Pin(12, Pin.OUT)
  for n in range(1,30):
      led.value(0) #on
      sleep(1)
      led.value(1) #off
      sleep(1)
  </code></pre>
  <p>I can't install this module via pip or anaconda
  (when I try to install the module via pip the build fails)</p>
  <p>Is this error maybe caused because I have installed micropython the wrong way?</p>
  <p>So it would be very nice if someone could help me out with this problem.</p>