Dear forum,
My system is a Linux system running Debian 9. The machine is a TX 100 S1 (4 cpus).
I have implemented or better called jupyter notebook in a terminal session, no problem at all. The object is to share import (environment) files (python code that is in a “/home/pymystuff/ directory). What I have learned is that if I can start a program using the terminal, python will use the PYTHONPATH variable. However when using Notebook the environment is NOT setup by reading a .bashrc file. This means that PYTHONPATH=”/home/py/mystuff/" is not available so the ,py files in /home/py/mystuff/ can’t be imported .
I need to know were to add PYTHONPATH to the jupyter notebook environment so that everyone can use it anytime. I have looked at changing many of the configuration files but haven’t found the right one.
thanks for a “good” answer
Jörg