R kernel
is not working under SoS Notebook
(under a regular notebook there is no error).
The following error appear for any command:
cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
and the console shows the warning:
WARNING: Failed to locate subkernel R with kernel "ir" and language "R": cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
Here some details of my installation:
$ jupyter kernelspec list
Available kernels:
bash /home/leoca/.local/share/jupyter/kernels/bash
ir /home/leoca/.local/share/jupyter/kernels/ir
octave /home/leoca/.local/share/jupyter/kernels/octave
python3 /home/leoca/.local/share/jupyter/kernels/python3
sos /home/leoca/.local/share/jupyter/kernels/sos
$ pip list | grep sos
sos 0.23.4
sos-bash 0.20.0
sos-notebook 0.23.4
sos-r 0.19.6