title: ImportError: No module named pynput.keyboard
body: <p>I have a problem and I can't find anything to help.The idea is that I can't import pynput. I did the pip install and this is what it shows:</p>
  
  <pre><code>&gt; Traceback (most recent call last):
    File "sb.py", line 1, in &lt;module&gt;
      from pynput.keyboard import Key, Controller
    ImportError: No module named pynput.keyboard
  </code></pre>
  
  <p>I tried again pip install pynput and it shows</p>
  
  <blockquote>
    <p>Requirement already satisfied</p>
  </blockquote>
  
  <p>Here is the code, i don't know if it helps but there you go:</p>
  
  <pre><code>from pynput.keyboard import Key, Controller
  def game():
      keyboard = Controller()
      if key.press():
          s = Sound()
          s.read("Cymatics - Guitar Chord Loop 2 - 128 BPM Dmaj")
          s.play()
  
  print "Welcome to soundboard"
  print "You will see a list of sound names, just write the name of it"
  print "If you want to stop it type stop"
  print "Type start"
  
  start = input()
  if start.lower() == "start":
      while True:
          game()
  else:
      print "Ups, try again.."
  </code></pre>
  
  <p>Thanks in advance</p>