jupyter / help

:sparkles: Need some help or have some questions? Please visit our Discourse page.
https://discourse.jupyter.org
291 stars 97 forks source link

How to include notebook-specific packages/modules #486

Open mn1247 opened 5 years ago

mn1247 commented 5 years ago

I have a very basic noob question. I'm running my first Jupyter notebook via Anaconda-navigator on OSX with a Python 3 kernel. I downloaded an example notebook that I would like to run. I can open the Jupyter notebook file (.ipynb) without problem, but the code contains includes of custom packages and modules that are contained in the downloaded files (as .py files)

How do I set things up so that the code in the notebook can "see" the packages/modules? Do I move these files to the Anaconda directory? Do I change the PYTHONPATH variable? Not sure of the correct way.

Thanks Eric