RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
maxecharel opened this issue ยท 18 comments
Hello. When I run Jupyter console on Ubuntu 18.04, I get:
Jupyter console 6.1.0
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.16.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]:
So far so good. But what the command I then type, I get:
/usr/local/lib/python3.6/dist-packages/jupyter_console/ptshell.py:718: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
Unhandled exception in event loop:
File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/home/mp/.local/lib/python3.6/site-packages/prompt_toolkit/input/vt100.py", line 168, in callback_wrapper
callback()
File "/home/mp/.local/lib/python3.6/site-packages/prompt_toolkit/application/application.py", line 691, in read_from_input
self.key_processor.process_keys()
File "/home/mp/.local/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_processor.py", line 274, in process_keys
self._process_coroutine.send(key_press)
File "/home/mp/.local/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/home/mp/.local/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_processor.py", line 329, in _call_handler
handler.call(event)
File "/home/mp/.local/lib/python3.6/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 102, in call
result = self.handler(event)
File "/usr/local/lib/python3.6/dist-packages/jupyter_console/ptshell.py", line 377, in _
self.handle_iopub()
File "/usr/local/lib/python3.6/dist-packages/jupyter_console/ptshell.py", line 720, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
Press ENTER to continue...
Note that this is also the case with another kernel, and that Jupyter lab works. The problem seems to come from Jupyter console. Any idea how to handle this?
After a pip upgrade, I also hit this error Exception 'coroutine' object is not subscriptable
. I tried different things:
- re-installing a previous version of jupyter-console
- re-installing a previous version of prompt-toolkit
- re-installing a previous version of pyzmq
- upgrading to Python 3.9
but none of them works and my jupyter console is broken.
Any idea?
After lots of trial-and-errors with different versions of pyzmq, prompt-toolkit, jupyter_client, jupyter_console, I've recovered jupyter-console. That was indeed a dependency hell problem.
Unclear what the actual fix is. Maybe downgrading jupyter-client 6.2.0
to jupyter-client 6.1.12
.
I have a similar issue; a Void Linux contributor has PR'ed an omnipus jupyter update and running jupyter console
triggers the RuntimeWarning
about ZMQSocketChannel.msg_ready
not being awaited. Downgrading only python3-jupyter_client
to 6.1.0_2
(the version currently packaged in Void) resolves the issue.
PyZMQ is installed via the python3-pyzmq-22.1.0_1
package in Void, although an earlier version also triggered the issue.
Edit: Void update PR: void-linux/void-packages#30873
I got same problem.
python3 --version
Python 3.8.10
pip3 list
Package Version
backcall 0.2.0
debugpy 1.4.1
decorator 5.0.9
entrypoints 0.3
ipykernel 6.2.0
ipython 7.26.0
ipython-genutils 0.2.0
jedi 0.18.0
jupyter-client 6.1.13
jupyter-console 6.4.0
jupyter-core 4.7.1
matplotlib-inline 0.1.2
nest-asyncio 1.5.1
parso 0.8.2
pexpect 4.8.0
pickleshare 0.7.5
pip 21.2.4
prompt-toolkit 3.0.20
ptyprocess 0.7.0
Pygments 2.10.0
python-dateutil 2.8.2
pyzmq 22.2.1
setuptools 45.2.0
six 1.16.0
tornado 6.1
traitlets 5.0.5
wcwidth 0.2.5
wheel 0.34.2
jupyter console
Jupyter console 6.4.0
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.26.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: /usr/local/lib/python3.8/dist-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Unhandled exception in event loop:
File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.8/dist-packages/prompt_toolkit/input/vt100.py", line 168, in callback_wrapper
callback()
File "/usr/local/lib/python3.8/dist-packages/prompt_toolkit/application/application.py", line 691, in read_from_input
self.key_processor.process_keys()
File "/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py", line 274, in process_keys
self._process_coroutine.send(key_press)
File "/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_processor.py", line 329, in _call_handler
handler.call(event)
File "/usr/local/lib/python3.8/dist-packages/prompt_toolkit/key_binding/key_bindings.py", line 102, in call
result = self.handler(event)
File "/usr/local/lib/python3.8/dist-packages/jupyter_console/ptshell.py", line 475, in _
self.handle_iopub()
File "/usr/local/lib/python3.8/dist-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
Press ENTER to continue...
On python3.7, downgrading from jupyter-client 7.0.1 to 6.1.12 worked for me.
This fixed problem for me too -- ran into it when trying to startup jupyter console
using the elpy. Haven't done this in a while, so don't know when it started.
It would be handy to know the underlying cause or if there's a long term solution to determine if I can consider emacs is viable jupyter interface for a project..
Getting the same issue in a fresh install of Ubuntu 21.04, python 3.9.5, using Anaconda as installer. Downgrading to 6.1.12 also worked for me (conda install jupyter_client=6.1
). Let me know if there's any way I can help address this issue.
Same issue here! Mac OS 11.6. Homebrew Python 3.10.0 and 3.9.7, and Perl 5.34.0. Trying to use IPerl kernel. Fixed by downgrading jupyter_client to 6.1.12 via pip3 install -Iv jupyter_client==6.1.12
.
3.10.0:
~ % jupyter kernelspec list
Available kernels:
iperl /Users/iremizov/Library/Jupyter/kernels/iperl
python3 /usr/local/share/jupyter/kernels/python3
~ % iperl
Jupyter console 6.4.0
IPerl!Traceback (most recent call last):
File "/usr/local/bin/jupyter-console", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/jupyter_core/application.py", line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/local/lib/python3.10/site-packages/traitlets/config/application.py", line 846, in launch_instance
app.start()
File "/usr/local/lib/python3.10/site-packages/jupyter_console/app.py", line 148, in start
self.shell.mainloop()
File "/usr/local/lib/python3.10/site-packages/jupyter_console/ptshell.py", line 664, in mainloop
main_task = asyncio.wait(tasks, loop=loop, return_when=asyncio.FIRST_COMPLETED)
TypeError: wait() got an unexpected keyword argument 'loop'
sys:1: RuntimeWarning: coroutine 'ZMQTerminalInteractiveShell.interact' was never awaited
3.9.7:
~ % iperl
Jupyter console 6.4.0
IPerl!
In [1]: q/usr/local/lib/python3.9/site-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Unhandled exception in event loop:
File "/usr/local/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 691, in read_from_input
self.key_processor.process_keys()
File "/usr/local/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 274, in process_keys
self._process_coroutine.send(key_press)
File "/usr/local/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/usr/local/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 329, in _call_handler
handler.call(event)
File "/usr/local/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 102, in call
result = self.handler(event)
File "/usr/local/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 475, in _
self.handle_iopub()
File "/usr/local/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
Press ENTER to continue...
Same issue on ubuntu 20.
In case further reports are welcome and/or useful, I've had this too for a while on Python 3.7.2 without conda on macOS 11.5.2. Jupyter Lab works fine, but the console gives
๐ฐ ~ โถ jupyter console
Jupyter console 6.4.0
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pandas as diplomacy
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Unhandled exception in event loop:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/input/vt100.py", line 170, in callback_wrapper
callback()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 690, in read_from_input
self.key_processor.process_keys()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_processor.py", line 271, in process_keys
self._process_coroutine.send(key_press)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_processor.py", line 321, in _call_handler
handler.call(event)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 124, in call
result = self.handler(event)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py", line 475, in _
self.handle_iopub()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
Press ENTER to continue...
In [1]:
Do you really want to exit ([y]/n)? y
Shutting down kernel
sys:1: RuntimeWarning: coroutine 'ZMQSocketChannel.get_msg' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
๐ฐ ~ โถ
Some async stuff about the ZMQ messaging something something apparently.
It's talking about tracemalloc, so
๐ฐ ~ โถ PYTHONTRACEMALLOC=1 jupyter console
Jupyter console 6.4.0
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pandas as diplomacy
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
Object allocated at (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py", lineno 852
while self.client.iopub_channel.msg_ready():
Unhandled exception in event loop:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/input/vt100.py", line 170, in callback_wrapper
callback()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 690, in read_from_input
self.key_processor.process_keys()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_processor.py", line 271, in process_keys
self._process_coroutine.send(key_press)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_processor.py", line 321, in _call_handler
handler.call(event)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 124, in call
result = self.handler(event)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py", line 475, in _
self.handle_iopub()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
Press ENTER to continue...
In [1]:
Do you really want to exit ([y]/n)? y
Shutting down kernel
sys:1: RuntimeWarning: coroutine 'ZMQSocketChannel.get_msg' was never awaited
Object allocated at (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jupyter_console/ptshell.py", lineno 853
sub_msg = self.client.iopub_channel.get_msg()
๐ฐ ~ โถ
Does that make us any wiser by bring us to
jupyter_console/jupyter_console/ptshell.py
Line 852 in 64f1695
Isn't this fixed by #244?
I had another issue a few days ago with my OSX (intel) with this. I had to downgrade my Python to from 3.10 to something below for jup_console to work.
Reproduced on MacOs
python 3.9.9
iTerm2 Build 3.4.14
python3 -m venv env
source env/bin/activate
(env) pip install jupyter
(env) jupyter console
jupyter console
Jupyter console 6.4.0
Python 3.9.9 (main, Nov 21 2021, 03:23:42)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.0.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: ?
/Users/user/project/env/lib/python3.9/site-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Unhandled exception in event loop:
File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/Users/user/project/env/lib/python3.9/site-packages/prompt_toolkit/input/vt100.py", line 170, in callback_wrapper
callback()
File "/Users/user/project/env/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 704, in read_from_input
self.key_processor.process_keys()
File "/Users/user/project/env/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 271, in process_keys
self._process_coroutine.send(key_press)
File "/Users/user/project/env/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/Users/user/project/env/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 321, in _call_handler
handler.call(event)
File "/Users/user/project/env/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 124, in call
result = self.handler(event)
File "/Users/user/project/env/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 475, in _
self.handle_iopub()
File "/Users/user/project/env/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
Press ENTER to continue...
In [1]:
Do you really want to exit ([y]/n)? y
Shutting down kernel
sys:1: RuntimeWarning: coroutine 'ZMQSocketChannel.get_msg' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Reproduced macOS 12.2.1 (apple M1)
Jupyter console 6.4.0
Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:27:43)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.0.1 -- An enhanced Interactive Python. Type '?' for help.
/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/jupyter_console/ptshell.py:852: RuntimeWarning: coroutine 'ZMQSocketChannel.msg_ready' was never awaited
while self.client.iopub_channel.msg_ready():
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Unhandled exception in event loop:
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/prompt_toolkit/input/vt100.py", line 170, in callback_wrapper
callback()
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 712, in read_from_input
self.key_processor.process_keys()
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 271, in process_keys
self._process_coroutine.send(key_press)
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 186, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_processor.py", line 321, in _call_handler
handler.call(event)
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/prompt_toolkit/key_binding/key_bindings.py", line 124, in call
result = self.handler(event)
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 475, in _
self.handle_iopub()
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/jupyter_console/ptshell.py", line 854, in handle_iopub
msg_type = sub_msg['header']['msg_type']
Exception 'coroutine' object is not subscriptable
conda list
click to collapse
absl-py 0.10.0 pyhd8ed1ab_1 conda-forge
aiohttp 3.8.1 py39h5161555_0 conda-forge
aiosignal 1.2.0 pyhd8ed1ab_0 conda-forge
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
appnope 0.1.2 py39h2804cbe_2 conda-forge
argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge
argon2-cffi-bindings 21.2.0 py39h5161555_1 conda-forge
astroid 2.9.3 pypi_0 pypi
asttokens 2.0.5 pyhd8ed1ab_0 conda-forge
astunparse 1.6.3 pyhd8ed1ab_0 conda-forge
async-timeout 4.0.2 pyhd8ed1ab_0 conda-forge
attrs 21.4.0 pyhd8ed1ab_0 conda-forge
autopep8 1.6.0 pyhd8ed1ab_1 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 py_2 conda-forge
backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge
black 21.7b0 pyhd8ed1ab_0 conda-forge
bleach 4.1.0 pyhd8ed1ab_0 conda-forge
blinker 1.4 py_1 conda-forge
brotli 1.0.9 h3422bc3_6 conda-forge
brotli-bin 1.0.9 h3422bc3_6 conda-forge
brotlipy 0.7.0 py39h5161555_1003 conda-forge
bzip2 1.0.8 h3422bc3_4 conda-forge
c-ares 1.18.1 h3422bc3_0 conda-forge
ca-certificates 2021.10.8 h4653dfc_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cachetools 4.2.4 pyhd8ed1ab_0 conda-forge
certifi 2021.10.8 py39h2804cbe_1 conda-forge
cffi 1.15.0 py39h52b1de0_0 conda-forge
charset-normalizer 2.0.12 pyhd8ed1ab_0 conda-forge
click 8.0.4 py39h2804cbe_0 conda-forge
cloudpickle 2.0.0 pyhd8ed1ab_0 conda-forge
colorama 0.4.4 pyh9f0ad1d_0 conda-forge
conda 4.11.0 py39h2804cbe_0 conda-forge
conda-package-handling 1.7.3 py39h5161555_1 conda-forge
cryptography 36.0.1 py39hfb8cd70_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
dataclasses 0.8 pyhc8e2a94_3 conda-forge
debugpy 1.5.1 py39hfb83b0d_0 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
descartes 1.1.0 py_4 conda-forge
docstring-to-markdown 0.10 pypi_0 pypi
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
executing 0.8.2 pyhd8ed1ab_0 conda-forge
flake8 4.0.1 pypi_0 pypi
flatbuffers 2.0 pypi_0 pypi
flit-core 3.7.1 pyhd8ed1ab_0 conda-forge
fonttools 4.29.1 py39h5161555_0 conda-forge
freetype 2.10.4 h17b34a0_1 conda-forge
fribidi 1.0.10 h27ca646_0 conda-forge
frozenlist 1.3.0 py39h5161555_0 conda-forge
future 0.18.2 py39h2804cbe_4 conda-forge
gast 0.4.0 pyh9f0ad1d_0 conda-forge
giflib 5.2.1 h27ca646_2 conda-forge
google-auth 1.35.0 pyh6c4a22f_0 conda-forge
google-auth-oauthlib 0.4.6 pyhd8ed1ab_0 conda-forge
google-pasta 0.2.0 pyh8c360ce_0 conda-forge
greenlet 1.1.2 pypi_0 pypi
grpcio 1.44.0 py39h9e1b6db_0 conda-forge
gym 0.21.0 py39h2804cbe_2 conda-forge
h5py 3.1.0 nompi_py39h99babb8_100 conda-forge
hdf5 1.10.6 nompi_h0fc092c_1114 conda-forge
idna 3.3 pyhd8ed1ab_0 conda-forge
importlib-metadata 4.11.1 py39h2804cbe_0 conda-forge
importlib_resources 5.4.0 pyhd8ed1ab_0 conda-forge
ipykernel 6.9.1 py39h32adebf_0 conda-forge
ipython 8.0.1 py39h2804cbe_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
ipywidgets 7.6.5 pyhd8ed1ab_0 conda-forge
isort 5.10.1 pypi_0 pypi
jbig 2.1 h3422bc3_2003 conda-forge
jedi 0.18.1 py39h2804cbe_0 conda-forge
jedi-language-server 0.35.1 pypi_0 pypi
jinja2 3.0.3 pyhd8ed1ab_0 conda-forge
joblib 1.1.0 pyhd8ed1ab_0 conda-forge
jpeg 9e h3422bc3_0 conda-forge
jsonschema 4.4.0 pyhd8ed1ab_0 conda-forge
jupyter 1.0.0 py39h2804cbe_7 conda-forge
jupyter_client 7.1.2 pyhd8ed1ab_0 conda-forge
jupyter_console 6.4.0 pyhd8ed1ab_0 conda-forge
jupyter_core 4.9.2 py39h2804cbe_0 conda-forge
jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge
jupyterlab_widgets 1.0.2 pyhd8ed1ab_0 conda-forge
jupytext 1.13.6 pyheef035f_0 conda-forge
keras 2.7.0 pyhd8ed1ab_0 conda-forge
keras-preprocessing 1.1.2 pyhd8ed1ab_0 conda-forge
kiwisolver 1.3.2 py39h4d2d688_1 conda-forge
krb5 1.19.2 hd92b7a7_3 conda-forge
lazy-object-proxy 1.7.1 pypi_0 pypi
lcms2 2.12 had6a04f_0 conda-forge
lerc 3.0 hbdafb3b_0 conda-forge
libblas 3.9.0 13_osxarm64_openblas conda-forge
libbrotlicommon 1.0.9 h3422bc3_6 conda-forge
libbrotlidec 1.0.9 h3422bc3_6 conda-forge
libbrotlienc 1.0.9 h3422bc3_6 conda-forge
libcblas 3.9.0 13_osxarm64_openblas conda-forge
libclang 12.0.0 pypi_0 pypi
libcurl 7.81.0 h8fe1914_0 conda-forge
libcxx 12.0.1 h168391b_1 conda-forge
libdeflate 1.10 h3422bc3_0 conda-forge
libedit 3.1.20191231 hc8eb9b7_2 conda-forge
libev 4.33 h642e427_1 conda-forge
libffi 3.4.2 h3422bc3_5 conda-forge
libgfortran 5.0.0.dev0 11_0_1_hf114ba7_23 conda-forge
libgfortran5 11.0.1.dev0 hf114ba7_23 conda-forge
liblapack 3.9.0 13_osxarm64_openblas conda-forge
libllvm11 11.1.0 h93073aa_3 conda-forge
libnghttp2 1.47.0 he723fca_0 conda-forge
libopenblas 0.3.18 openmp_h5dd58f0_0 conda-forge
libpng 1.6.37 hf7e6567_2 conda-forge
libprotobuf 3.19.4 hccf11d3_0 conda-forge
libsodium 1.0.18 h27ca646_1 conda-forge
libssh2 1.10.0 hb80f160_2 conda-forge
libtiff 4.3.0 h77dc3b6_3 conda-forge
libwebp 1.2.2 h0d20362_0 conda-forge
libwebp-base 1.2.2 h3422bc3_1 conda-forge
libxcb 1.13 h9b22ae9_1004 conda-forge
libzlib 1.2.11 hee7b306_1013 conda-forge
lightgbm 3.3.2 py39h8685b90_0 conda-forge
lineedit 0.1.6 pyhd8ed1ab_0 conda-forge
llvm-openmp 13.0.1 hf3c4609_0 conda-forge
llvmlite 0.38.0 py39h3235a92_0 conda-forge
lz4-c 1.9.3 hbdafb3b_1 conda-forge
markdown 3.3.6 pyhd8ed1ab_0 conda-forge
markdown-it-py 1.1.0 pyhd8ed1ab_0 conda-forge
markupsafe 2.1.0 py39hb18efdd_0 conda-forge
matplotlib 3.5.1 py39hdf13c20_0 conda-forge
matplotlib-base 3.5.1 py39h5aa4fe7_0 conda-forge
matplotlib-inline 0.1.3 pyhd8ed1ab_0 conda-forge
mccabe 0.6.1 pypi_0 pypi
mdit-py-plugins 0.3.0 pyhd8ed1ab_0 conda-forge
mistune 0.8.4 py39h5161555_1005 conda-forge
mizani 0.7.3 pyhd8ed1ab_0 conda-forge
msgpack 1.0.3 pypi_0 pypi
multidict 6.0.2 py39h5161555_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
mypy 0.931 pypi_0 pypi
mypy_extensions 0.4.3 py39h2804cbe_4 conda-forge
nbclient 0.5.11 pyhd8ed1ab_0 conda-forge
nbconvert 6.4.2 py39h2804cbe_0 conda-forge
nbformat 5.1.3 pyhd8ed1ab_0 conda-forge
ncurses 6.3 hc470f4d_0 conda-forge
neovim 0.3.1 pypi_0 pypi
nest-asyncio 1.5.4 pyhd8ed1ab_0 conda-forge
ninja 1.10.2 hc021e02_1 conda-forge
notebook 6.4.8 pyha770c72_0 conda-forge
numba 0.55.1 py39hb1c450a_0 conda-forge
numpy 1.19.5 py39h1f3b974_2 conda-forge
oauthlib 3.2.0 pyhd8ed1ab_0 conda-forge
openjpeg 2.4.0 h062765e_1 conda-forge
openssl 1.1.1l h3422bc3_0 conda-forge
opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge
packaging 21.3 pyhd8ed1ab_0 conda-forge
palettable 3.3.0 py_0 conda-forge
pandas 1.3.5 py39h7f752ed_0 conda-forge
pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
pathspec 0.9.0 pyhd8ed1ab_0 conda-forge
patsy 0.5.2 pyhd8ed1ab_0 conda-forge
pexpect 4.8.0 pyh9f0ad1d_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 9.0.1 py39hd72dd6b_2 conda-forge
pip 22.0.3 pyhd8ed1ab_0 conda-forge
platformdirs 2.5.0 pypi_0 pypi
plotly 5.6.0 pyhd8ed1ab_0 conda-forge
plotnine 0.8.0 pyhd8ed1ab_0 conda-forge
pluggy 1.0.0 pypi_0 pypi
prometheus_client 0.13.1 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.27 pyha770c72_0 conda-forge
prompt_toolkit 3.0.27 hd8ed1ab_0 conda-forge
protobuf 3.19.4 py39hfb83b0d_0 conda-forge
pthread-stubs 0.4 h27ca646_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pyasn1 0.4.8 py_0 conda-forge
pyasn1-modules 0.2.7 py_0 conda-forge
pycodestyle 2.8.0 pyhd8ed1ab_0 conda-forge
pycosat 0.6.3 py39h5161555_1009 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pydantic 1.8.2 pypi_0 pypi
pydocstyle 6.1.1 pypi_0 pypi
pyflakes 2.4.0 pypi_0 pypi
pygls 0.11.3 pypi_0 pypi
pygments 2.11.2 pyhd8ed1ab_0 conda-forge
pyjwt 2.3.0 pyhd8ed1ab_1 conda-forge
pylint 2.12.2 pypi_0 pypi
pylsp-mypy 0.5.7 pypi_0 pypi
pylsp-rope 0.1.8 pypi_0 pypi
pynvim 0.4.3 pypi_0 pypi
pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.7 pyhd8ed1ab_0 conda-forge
pyrsistent 0.18.1 py39h5161555_0 conda-forge
pysocks 1.7.1 py39h2804cbe_4 conda-forge
python 3.9.10 hd16f9c5_2_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-lsp-jsonrpc 1.0.0 pypi_0 pypi
python-lsp-server 1.3.3 pypi_0 pypi
python_abi 3.9 2_cp39 conda-forge
pytorch 1.10.2 cpu_py39hbfdb42d_0 conda-forge
pytz 2021.3 pyhd8ed1ab_0 conda-forge
pyu2f 0.1.5 pyhd8ed1ab_0 conda-forge
pyyaml 6.0 py39h5161555_3 conda-forge
pyzmq 22.3.0 py39h02c6a76_1 conda-forge
radian 0.5.12 pyhd8ed1ab_0 conda-forge
rchitect 0.3.35 py39h5161555_0 conda-forge
readline 8.1 hedafd6a_0 conda-forge
regex 2022.1.18 py39h5161555_0 conda-forge
requests 2.27.1 pyhd8ed1ab_0 conda-forge
requests-oauthlib 1.3.1 pyhd8ed1ab_0 conda-forge
rope 0.22.0 pypi_0 pypi
rsa 4.8 pyhd8ed1ab_0 conda-forge
ruamel_yaml 0.15.80 py39h5161555_1006 conda-forge
scikit-learn 1.0.2 py39hef7049f_0 conda-forge
scipy 1.8.0 py39h5060c3b_1 conda-forge
seaborn 0.11.2 hd8ed1ab_0 conda-forge
seaborn-base 0.11.2 pyhd8ed1ab_0 conda-forge
send2trash 1.8.0 pyhd8ed1ab_0 conda-forge
setuptools 59.8.0 py39h2804cbe_0 conda-forge
six 1.15.0 pyh9f0ad1d_0 conda-forge
sleef 3.5.1 h156473d_2 conda-forge
snowballstemmer 2.2.0 pypi_0 pypi
sqlite 3.37.0 h72a2b83_0 conda-forge
stable-baselines3 1.1.0 pyhd8ed1ab_0 conda-forge
stack_data 0.2.0 pyhd8ed1ab_0 conda-forge
statsmodels 0.13.2 py39h20ef057_0 conda-forge
tenacity 8.0.1 pyhd8ed1ab_0 conda-forge
tensorboard 2.6.0 pyhd8ed1ab_1 conda-forge
tensorboard-data-server 0.6.0 py39hfb8cd70_1 conda-forge
tensorboard-plugin-wit 1.8.1 pyhd8ed1ab_0 conda-forge
tensorflow-deps 2.7.0 0 apple
tensorflow-estimator 2.7.0 pypi_0 pypi
tensorflow-macos 2.7.0 pypi_0 pypi
tensorflow-metal 0.3.0 pypi_0 pypi
termcolor 1.1.0 py_2 conda-forge
terminado 0.13.1 py39h2804cbe_0 conda-forge
testpath 0.6.0 pyhd8ed1ab_0 conda-forge
threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge
tk 8.6.12 he1e0b03_0 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 1.2.2 pyhd8ed1ab_0 conda-forge
torchvision 0.2.2 py_3 pytorch
tornado 6.1 py39h5161555_2 conda-forge
tqdm 4.62.3 pyhd8ed1ab_0 conda-forge
traitlets 5.1.1 pyhd8ed1ab_0 conda-forge
typed-ast 1.5.2 py39h5161555_0 conda-forge
typeguard 2.13.3 pypi_0 pypi
typing-extensions 4.1.1 pypi_0 pypi
typing_extensions 3.7.4.3 py_0 conda-forge
tzdata 2021e he74cb21_0 conda-forge
ujson 5.1.0 pypi_0 pypi
unicodedata2 14.0.0 py39h5161555_0 conda-forge
urllib3 1.26.8 pyhd8ed1ab_1 conda-forge
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
webencodings 0.5.1 py_1 conda-forge
werkzeug 2.0.3 pyhd8ed1ab_1 conda-forge
wheel 0.35.1 pyh9f0ad1d_0 conda-forge
widgetsnbextension 3.5.2 py39h2804cbe_1 conda-forge
wrapt 1.12.1 py39h5161555_3 conda-forge
xorg-libxau 1.0.9 h27ca646_0 conda-forge
xorg-libxdmcp 1.1.3 h27ca646_0 conda-forge
xz 5.2.5 h642e427_1 conda-forge
yaml 0.2.5 h3422bc3_2 conda-forge
yapf 0.32.0 pyhd8ed1ab_0 conda-forge
yarl 1.7.2 py39h5161555_1 conda-forge
zeromq 4.3.4 hbdafb3b_1 conda-forge
zipp 3.7.0 pyhd8ed1ab_1 conda-forge
zlib 1.2.11 hee7b306_1013 conda-forge
zstd 1.5.2 h861e0a7_0 conda-forge
Upgrading to jupyter-console 6.4.3 should fix the issue.
Yeah it's working for me now on macOS. Stellar, thank you.