Q:Make Conda Environments Available in Jupyter Kernels
A : #In Base install ipykernel package
$conda activate pyenv
(pyenv) $conda install ipykernel
(pyenv) $ipython kernel install --user --name=pyenv_kernel
#pyenv_kernel name that help to link the kernel back to conda environment
#To remove a kernel
$conda activate pyenv
(pyenv) $jupyter kernelspec uninstall pyenv_kernel
#TO list currently available kernels
$jupyter kernelspec list
Comments
Post a Comment