title: Unable to import pyodbc
body: <p>I want to connect SQL server 2012/2014 from my windows machine using Python. For that I installed pyodbc module to my virtual environment using command below</p>
  
  <pre><code>pip install pyodbc
  </code></pre>
  
  <p>However, it gave me the message below when I run my script</p>
  
  <blockquote>
  <pre><code>import pyodbc ImportError: No module named pyodbc
  </code></pre>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>import pyodbc
  db= pyodbc.connect(driver='{SQL Server Native Client 11.0}',
                     server='127.0.0.1', 
                     database='master',               
                     trusted_connection='yes')
  db.close()
  </code></pre>
  
  <p>The module has already installed and it's listed when I use pip list.
  I have been searching around but with no luck on finding the solution on what exactly cause that issue.</p>
  
  <p>Any helps will be appropriated.</p>