How do I make matplotlib work in AWS EMR Jupyter notebook?

前端 未结 5 411
情书的邮戳
情书的邮戳 2021-01-01 13:49

This is very close to this question, but I have added a few details specific to my question:

Matplotlib Plotting using AWS-EMR jupyter notebook

I would like

5条回答
  •  無奈伤痛
    2021-01-01 14:23

    As you mentioned, matplotlib is not installed on the EMR cluster, therefore such error will occur:

    However, it is actually available in the managed Jupyter notebook instance (the docker container). Using the %%local magic will allow you to run the cell locally:

提交回复
热议问题