title: Can't import sqldf in one python file while it works in another. Both files are in different folders. How can I set this right?
body: <p>In one python file when I try <code>from pandasql import sqldf</code> it works. The path for that is </p>
  
  <pre><code>C:\Users\AmitSingh\Anaconda2\python.exe "C:/Users/AmitSingh/PycharmProjects/HelloPython.py/exercise 2"
  </code></pre>
  
  <p>In another file when I use the same command it gives me the error</p>
  
  <pre><code>ImportError: cannot import name sqldf
  </code></pre>
  
  <p>The path for this file is</p>
  
  <pre><code>C:\Users\AmitSingh\Anaconda2\python.exe C:/Users/AmitSingh/Desktop/Data/Udacity/Intro_Machine_Learning/ud120-projects/datasets_questions/explore_enron_data.py
  </code></pre>
  
  <p>I don't understand why? When I write <code>import sqldf</code> the prompt shows <code>sqldf</code> as an autocomplete option. But doesn't work.</p>