I recently installed jupyter notebooks on my macbook pro. When I create a new notebook, I see the following exception coming continuously on the terminal where I started the
It is a version incompatibility issue. Upgrading Jupyter solves it. Here is what you should try in macOS:
pip install --upgrade jupyter