In Jupyter my own little module is not loaded but in python/bpython is everything is fine. When typing
import sys
print(sys.path)
the path to my module will not in show in Jupyter but in python/bpython it is still there.
I am using:
- PYTHONPATH in .bashrc to include my module,
- Jupyter and bpython inside a virtualenv.
The most similar questions is this Cannot import modules in jupyter notebook; wrong sys.path
How to configure Jupyter to load my modules automagically?
sys.path.append('/path/to/your/code')
within the Jupyter ipython shell or notebook? If that works, you can add this command to the ipython profile. – Textile