title: Cannot import module in Jupyter Notebook (Python 3.6)
body: <p>I want to import a user-defined module <code>utils.py</code> in Jupyter Notebook. This should be a trivial task, but for some reason it fails.</p>
  
  <p>Project structure:</p>
  
  <pre><code>myapp/data/test.csv
  myapp/packages/utils.py
  myapp/test.ipynb
  </code></pre>
  
  <p>The file <code>utils.py</code> contains many functions, e.g. <code>def myfunc():...</code>.</p>
  
  <p>In <code>test.ipynb</code> I tried <code>from packages import utils</code>. Also I tried to put <code>utils.py</code> into the same folder as <code>test.ipynb</code> and run <code>import utils</code>. But all the time it fails with one of these two errors:</p>
  
  <blockquote>
    <p>ImportError: cannot import name 'utils' ModuleNotFoundError: No module
    named 'utils'</p>
  </blockquote>
  
  <p>The command <code>sys.executable</code> executed from the notebook gives me a correct path to python.exe.</p>
  
  <p>It's weird because I can import data without any issues as follows:</p>
  
  <pre><code>df = pd.read_csv("data/test.csv", sep=";")
  </code></pre>
  
  <p>How can I check what causes this problem?</p>