I had the same problem. A restart of the running kernel fixed the problem for me.
It seems that this happens when I put my PC to sleep mode for a long time and then try to continue using the Jupyter notebook.