Open HuichuanLiu opened 3 years ago
The kernelspec install
command is currently not supported by xeus-python. You need to install the kernel in the environment where Jupyter Lab is installed (and yes, this means potentially installing the same package in different environments).
It might be possible by adding the proper path to jupyter --paths
?
I got this working by manually creating a kernelspec in /Users/me/Library/Jupyter/kernels
. I copied the folder with the kernelspec from the environment where xeus is installed to one of the places where jupyter will look for kernels. Not sure if this breaks anything, but basic functionality is there.
Nice to see this package frees people from hard debugging on Jupyter. I am facing a small problem at the start of the journey.
The xeus-python kernel works perfectly when it was installed in the same conda environment with the jupyterlab. But I didn't find a way to use an existing xeus-python kernel on the jupyterlab installed in base env.
I tried the
jupyter kernelspec install
command but it doesn't work either.Then I used ipykernel and it succeeds.
However, jupyter naturally recognize the ipykernel instead of the xeus-python kernel hence debugging is no more supported.
So I would like to know how to install an existing xeus-python kernel to a jupyterlab in another environment.