title: Cannot import modules in jupyter notebook; wrong sys.path
body: <p>I am having a problem importing modules in my iPython/Jupyter notebook. The problem fundamentally lies in where the sys.path is pointing to. </p>
  
  <p>From the iPython/Jupyter notebook, <code>sys.executable</code> returns:</p>
  
  <pre><code>'/usr/bin/python'
  </code></pre>
  
  <p>However, from the command line, it returns:</p>
  
  <pre><code>'//anaconda/bin/python'
  </code></pre>
  
  <p>I have tried un-installing and re-installing anacondas, but the problem still remains. </p>
  
  <p>I have also tried augmenting $PYTHONPATH in my bash_profile to include //anaconda/bin/python, but this doesn't resolve it.</p>
  
  <p>Is there anyway to change the sys.path in my jupyter notebook permanently, without simply using sys.path.append(...)?</p>