Same problem as in this question sys.path different in Jupyter and Python - how to import own modules in Jupyter?. In pure Python, it prepends my system environment variable
Jupyter uses its own JUPYTER_PATH environment variable.