remove kernel on jupyter notebook
Run jupyter kernelspec list
to get the paths of all your kernels.
Then simply uninstall your unwanted-kernel
jupyter kernelspec uninstall unwanted-kernel
Old answer
Delete the folder corresponding to the kernel you want to remove.
The docs has a list of the common paths for kernels to be stored in: http://jupyter-client.readthedocs.io/en/latest/kernels.html#kernelspecs
How do I delete/refresh available kernels for IPython/Jupyter notebook v4.0?
As of today:
jupyter kernelspec list
gives you a list (names and paths). Then pick the name and uninstall it:
jupyter kernelspec uninstall myKernalName
How to remove previous version from Jupyter?
Run jupyter kernelspec list
on the command line to get the paths of all your kernels.
It would show kernel names like
Available kernels:
julia-1.0 /home/user/.local/share/jupyter/kernels/julia-1.0
julia-1.1 /home/user/.local/share/jupyter/kernels/julia-1.1
python3 /home/user/anaconda3/share/jupyter/kernels/python3
And then you can run
jupyter kernelspec uninstall julia-1.0
to remove the old kernel that you want to remove.
How to remove inactivate conda environment names from jupyter notebook?
It depends on how you registered the kernel, but I suspect you used the python -m ipykernel install --user
. In that case, you should be able to get a list of where the kernels are registered with
jupyter kernelspec list
and you can simply delete the folders corresponding to kernels you wish to delete.
It may be worth noting that using nb_conda_kernels
to auto-register all Conda envs with ipykernel
would automatically remove kernels when you delete their environments or remove the ipykernel
from the environment.
There's a kernel i can't delete or choose in jupyterlab
I just find how to solve it.jupyter-kernelspec list
Then I can see the path of 'ml', and just delete it.
Related Topics
Activate Tabpanel from Another Tabpanel
Warning Message: Line Appears to Contain Embedded Nulls
How to Cross-Paste All Combinations of Two Vectors (Each-To-Each)
R Sum a Variable by Two Groups
Make Sequential Numeric Column Names Prefixed with a Letter
Force Ggplot Legend to Show All Categories When No Values Are Present
How to Deal with Spaces in Column Names
How to Append a Whole Dataframe to a CSV in R
Downloading Png from Shiny (R)
How to Facet a Plot_Ly() Chart
How to Find the Indices of the Top 10,000 Elements in a Symmetric Matrix(12K X 12K) in R
Convert Factor to Date/Time in R
Horizontal Dendrogram in R with Labels
Possible to Create Rd Help Files for Objects Not in a Package