Reputation: 221
I'm using jupyter notebook on AWS EMR to run PySpark, and is having trouble importing modules from another file. I tried a couple methods that I searched on stackoverflow, none worked. More specifically, I tried the following (here I have a notebook named "include.ipynb" in the same directory as the notebook that runs the import statements):
Both of these methods worked in jupyter notebook on my local computer. Why aren't they working on AWS?
Upvotes: 3
Views: 1431
Reputation: 13
You have to install these packages in your EMR explicitly using Pip or conda. Your local has those packages installed already.
Upvotes: 1