help icon indicating copy to clipboard operation
help copied to clipboard

How to include notebook-specific packages/modules

Open mn1247 opened this issue 6 years ago • 0 comments

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

mn1247 avatar Dec 30 '18 19:12 mn1247