sys.path different in Jupyter and Python - how to import own modules in Jupyter?
<p>In Jupyter my own little module is not loaded but in python/bpython is everything is fine. When typing</p>

<pre><code>import sys
print(sys.path)
</code></pre>

<p>the path to my module will not in show in Jupyter but in python/bpython it is still there.</p>

<p>I am using:</p>

<ol>
<li>PYTHONPATH in .bashrc to include my module,</li>
<li>Jupyter and bpython inside a virtualenv.</li>
</ol>

<p>The most similar questions is this
<a href="https://stackoverflow.com/questions/34389029/cannot-import-modules-in-jupyter-notebook-wrong-sys-path">Cannot import modules in jupyter notebook; wrong sys.path</a></p>

<p>How to configure Jupyter to load my modules automagically?</p>