title: Intellij Idea: Python import showing error even when code using module is running
body: <p>I am working on a python project using editor Intellij Idea, Ultimate 2017 Edition.</p>
  
  <p>In my working file <code>sample.py</code> code looks like </p>
  
  <pre><code>import os
  
  def sample_fuc():
      print(os.stat("C:\\Users\admin"))
  </code></pre>
  
  <p>Python SDK is already configured, code is running fine [When running through intellij run configuration] and printing the desired result, but somehow Intellij is not able to find the module <code>os</code> and showing error <code>No module named os</code></p>
  
  <p>So, I want to understand 2 things here : </p>
  
  <p>1.) How does Intellij idea searches for modules available in python libraries. Do I need to configure somewhere in intellij to look for available modules. Is there something default set to it, if yes, why common module like os is not available in default path?</p>
  
  <p>2.) If I need to configure, what all directory paths python usually have on windows where it stores installed modules? </p>