You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my zsh terminal on MacOs 13.4.1, on ttys002, I ran:
conda activate spyder-env
conda install -c conda-forge shiny
when I went to restart the kernel in Spyder, I was told that I needed to run this::
conda install spyder-kernels=2.4
to get it to work, so I did. However, this error resulted.
Traceback
Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/ipythonconsole/widgets/client.py", line 772, in _restart_thread_mainself.shellwidget.kernel_manager.restart_kernel(
File "jupyter_core/utils/__init__.pyc", line 166, in wrapped
File "asyncio/base_events.pyc", line 647, in run_until_complete
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 548, in _async_restart_kernelawaitself._async_shutdown_kernel(now=now, restart=True)
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 93, in wrapperraise e
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 85, in wrapper
out =await method(self, *args, **kwargs)
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 506, in _async_shutdown_kernelawaitself._async_request_shutdown(restart=restart)
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 411, in _async_request_shutdownself._connect_control_socket()
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 329, in _connect_control_socketself._control_socket =self._create_connected_socket("control")
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/connect.py", line 642, in _create_connected_socket
sock =self.context.socket(socket_type)
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/zmq/sugar/context.py", line 359, in socketraise ZMQError(Errno.ENOTSUP)
zmq.error.ZMQError: Operation not supported
Hi @ginoskler thank you for the feedback! This seems related with #17805 🤔 Pinging @ccordoba12 and @mrclary (maybe they could have suggestions to debug this or possible causes for the error to show up when restarting the kernel)
@ginoskler, are your system architecture x86_64 (Intel) or arm64 (M1)?
Also, your spyder-env environment, was that created using packages from the conda-forge channel or anaconda's main channel?
I'm just wondering if Spyder was working fine until you installed shiny from the conda-forge channel, and spyder-env was created using main channel packages, then perhaps the mixed channel under this circumstance caused a problem.
Description
What steps will reproduce the problem?
In my zsh terminal on MacOs 13.4.1, on ttys002, I ran:
conda activate spyder-env
conda install -c conda-forge shiny
when I went to restart the kernel in Spyder, I was told that I needed to run this::
conda install spyder-kernels=2.4
to get it to work, so I did. However, this error resulted.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: