M220 Chapter 1 Driver setup

Hi Guys, if you hit this error:

Uncaught exception GET /api/kernels/a9733ec3-7214-42bc-a6ca-5b3aad8d7cfb/channels?session_id=cbc32ab78ca446e4944effe6c60cba56 (::1)
HTTPServerRequest(protocol=‘http’, host=‘localhost:8888’, method=‘GET’, uri=’/api/kernels/a9733ec3-7214-42bc-a6ca-5b3aad8d7cfb/channels?session_id=cbc32ab78ca446e4944effe6c60cba56’, version=‘HTTP/1.1’, remote_ip=’::1’)
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/tornado/websocket.py”, line 956, in accept_connection
open_result = handler.open(*handler.open_args, **handler.open_kwargs)
File “/usr/local/lib/python3.7/site-packages/notebook/services/kernels/handlers.py”, line 274, in open
self.create_stream()
File “/usr/local/lib/python3.7/site-packages/notebook/services/kernels/handlers.py”, line 127, in create_stream
meth = getattr(km, 'connect
’ + channel)
AttributeError: ‘MappingKernelManager’ object has no attribute ‘connect_control’

try:

pip (or pip3) install --upgrade jupyter-client jupyter-core
1 Like