title: No module named serial
body: <p>and I got a question when I run my Python code.</p>
  
  <p>I installed Python 2.7 on Windows 7, bit 64.
  I got an error "No module named serial" when I compiled my code:</p>
  
  <pre><code>import serial
  
  ser = serial.Serial("COM5", 9600)
  
  ser.write("Hello world")
  
  x = ser.readline()
  
  print(x)
  </code></pre>
  
  <p>I tried many ways to crack this problem, such as installed Canopy to setup virtual environment, make sure 'pip' is there, no Python v 3.x installed.
  But still cannot get it out.</p>
  
  <p>Any advice would be appreciated.</p>