Kernel resetting repeatedly
The underlying cause for this could be that you deleted the conda environment that you used to create the kernelspec you are trying to run with.
Resolutions:
Make sure the conda environment for the jupyter kernelspec still exists.
Remove the problematic kernel from the jupyter environment as described below.
Removing a kernel in JupyterLab 1
Use the jupyter kernelspec list command from the terminal to view the currently installed kernels. Use this list to find the correct kernel name. Then use the following command to uninstall the kernel:
jupyter kernelspec uninstall {KERNEL_NAME}
{KERNEL_NAME} is the kernel’s name in the jupyter kernelspec list command and the --name argument in the ipykernel install command used to create the kernel.
1: Instructions referenced from https://docs.posit.co/ide/server-pro/user/jupyter-lab/guide/jupyter-kernel-management.html#removing-kernels