Let me add some details on this issue
I am runing AWS EMR 6.3.0 that is runing on Amazon Linux 2 AMI, bundled with:
- Hadoop 3.2.1
- Python 3.7.9
- Java 1.8.0
- Spark 3.1.1
- Scala 2.12.10
- JupyterHub 1.2.0
- Ganglia 3.7.2
- Livy 0.7.0
On this machine I install hail v0.2.74, that come with bokeh 1.4.0
From there I connect to the JupyterHub and creat a new notebook using Pyspark kernel.
In the note I try to load bokeh
from bokeh.io import show, output_notebook
output_notebook()
That trigger an error An error was encountered: No module named 'IPython'
I installed IPython sudo python3 -m pip install ipython
At that point when I run the block above to load bokeh, I do not get error, but I also do not get any output (expecting to see “Bokehjs successfully loaded” prompt")
I noticed that the documentation of bokeh advise to install jupyter-bokeh…
I run sudo python3 -m pip install jupyter_bokeh.
At this point bokeh is updated to 2.3.3
When I run the block above to load bokeh I fot a different error: An error was encountered: Object of type Undefined is not JSON serializable
This is where I am and don’t know what else to do…