I upgraded bokeh
library by executing the following command:
!pip install --user --upgrade bokeh
Tornado version 5 dependency was installed. After upgrading the library from the DSX Notebook the kernel stops responding after restart. I see "Slow Kernel connection" dialog. Opening another notebook for the same language displays the same error dialog.
Tornado 5.0 is incompatible with the current ipython kernel installation for DSX Notebooks.
If you are experiencing "Slow kernel connection" issue after upgrading Bokeh
library try the following steps:
!rm -rf ~/.local/lib/
This command will remove all python packages installed by userIf Tornado 5 was installed for both Python versions (Python 2 and Python 3) you could remove user's packages by switching to R
kernel and executing the following command:
system('!rm -rf ~/.local/lib/')
After that you could switch back to Python kernel.
You could upgrade bokeh
library with the following command:
!pip install --upgrade --upgrade-strategy only-if-needed bokeh
In this case Tornado package will not be updated