title: ImportError: No module named common
body: <p>My project has two dirs <code>common</code> and <code>core</code>.</p>
  
  <pre><code>root
   |----common
   |       |-----__init__.py
   |       |-----util.py
   |
   |------core
           |-----__init__.py
           |------iemoji.py
  </code></pre>
  
  <p>In root, I execute <code>python core/iemoji.py</code>, an error occurs.</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
    <br> File "core/iemoji.py", line 6, in module
       <br>from common import util
    <br>ImportError: No module named common</p>
  </blockquote>
  
  <p>I import utils.py like this:</p>
  
  <pre><code>from common import util
  </code></pre>