-
-
Notifications
You must be signed in to change notification settings - Fork 398
Closed
Milestone
Description
Hi,
I just installed and run jupyter notebook for the first time using:
pip3 install notebook
jupyter notebook
After creating a notebook, I cannot execute any command. The backend reports the error:
[IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
File "/home/gschwaer/.local/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 261, in dispatch_shell
yield gen.maybe_future(handler(stream, idents, msg))
File "/home/gschwaer/.local/lib/python3.6/site-packages/tornado/gen.py", line 762, in run
value = future.result()
File "/home/gschwaer/.local/lib/python3.6/site-packages/tornado/gen.py", line 769, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "/home/gschwaer/.local/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 538, in execute_request
user_expressions, allow_stdin,
File "/home/gschwaer/.local/lib/python3.6/site-packages/tornado/gen.py", line 762, in run
value = future.result()
File "/home/gschwaer/.local/lib/python3.6/site-packages/tornado/gen.py", line 234, in wrapper
yielded = ctx_run(next, result)
File "/home/gschwaer/.local/lib/python3.6/site-packages/contextvars/__init__.py", line 38, in run
return callable(*args, **kwargs)
File "/home/gschwaer/.local/lib/python3.6/site-packages/ipykernel/ipkernel.py", line 290, in do_execute
with self._cancel_on_sigint(coro_future):
TypeError: should_run_async() got an unexpected keyword argument 'transformed_cell'
I found this commit: 54c29d3bfd8c97b190ee7270d42cc86daa58cf1d from @afshin (merged by @blink1073 of PR #605) which seems to cause this issue. If I reverse the changes of this commit everything works as expected. I think this was backported for some reason, but it is a breaking change that should require a version bump. Or maybe the jupyter devs need to restrict the ipykernel version differently from now on?
Best regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels