[IPKernelApp] ERROR | Exception in message handler: Traceback (most recent call last): The File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/ipykernel/kernelbase. Py", line 261, in dispatch_shell yield gen.maybe_future(handler(stream, idents, MSG)) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/tornado/gen. Py", line 762, In the run value = future. Result () the File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/tornado/gen. Py", line 234, in wrapper yielded = ctx_run(next, Result) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/tornado/gen. Py", line 162, in _fake_ctx_run return f(*args, * * kw) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/ipykernel/kernelbase. Py", line 576, in complete_request matches = yield gen.maybe_future(self.do_complete(code, Cursor_pos) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/ipykernel/ipkernel. Py", line 356, in do_complete return self._experimental_do_complete(code, Cursor_pos) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/ipykernel/ipkernel. Py", line 381, in _experimental_do_complete completions = list(_rectify_completions(code, Raw_completions) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/IPython/core/completer py", line 484, in rectify_completions completions = list(completions) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/IPython/core/completer py", line 1818, in completions for c in self._completions(text, offset, _timeout=self.jedi_compute_type_timeout/1000): The File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/IPython/core/completer py", line 1862, in _completions full_text=full_text, cursor_line=cursor_line, Cursor_pos = cursor_column) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/IPython/core/completer py",  line 2030, in _complete cursor_pos, cursor_line, Full_text) File "/ Users/wys/opt/anaconda3 / envs/tf/lib/python3.6 / site - packages/IPython/core/completer py", line 1374, in _jedi_matches text[:offset], namespaces, column=cursor_column, Line = cursor_line + 1) File "/ Users/wys/opt/anaconda3 envs/tf/lib/python3.6 / site - packages/jedi/API/set p y", line 726, in __init__ omitted, Jedi will be clever and try to define the range itself. TypeError: __init__() got an unexpected keyword argument 'column'Copy the code

Jedi 0.18.0 is not available in ipython. Jedi 0.18.0 is not available in ipython. Jedi 0.17 is not available in Ipython.

Retrieve the installed jedi version via Conda:

conda list|grep jedi
Copy the code

Found that it was 0.18, then modified to 0.17

Conda install jedi = 0.17Copy the code

Restart Jupyter-Notebook to resolve the problem.