In [ ]:
%%bash
pip3 install bash_kernel
In [ ]:
%%bash
python3 -m bash_kernel.install
In [ ]:
%%bash
launchctl stop com.quantum.jupyter-lab
In [ ]:
%%bash
python3 -m pip install notebook zsh_jupyter_kernel
python3 -m zsh_jupyter_kernel.install --sys-prefix
In [ ]:
%%bash
python3 -m zsh_jupyter_kernel.install
In [ ]:
%%bash
launchctl start com.quantum.jupyter-lab

How to uninstall Zsh Jupyter Kernel?

In [ ]:
import zsh_jupyter_kernel
print(zsh_jupyter_kernel.__file__)
/usr/local/lib/python3.9/site-packages/zsh_jupyter_kernel/__init__.py
In [ ]:
%%bash
ls -lah /usr/local/lib/python3.9/site-packages/zsh_jupyter_kernel
In [ ]:
%%bash
cat /usr/local/lib/python3.9/site-packages/zsh_jupyter_kernel/install.py

Try to uninstall Zsh Jupyter Kernel

In [ ]:
%%bash
launchctl stop com.quantum.jupyter-lab
In [ ]:
%%bash
python3 -m pip uninstall zsh_jupyter_kernel
In [ ]:
%%bash
jupyter kernelspec list
In [ ]:
%%bash
jupyter kernelspec uninstall zsh
In [ ]:
%%bash
launchctl start com.quantum.jupyter-lab

A Jupyter Kernel for Python 3.7

In [ ]:
%%bash
cd ~ && virtualenv -p $(which python3.7) py37
source ~/py37/bin/activate
ipython kernel install --user --name py37 --display-name 'Python 3.7'
In [ ]:
%%bash
jupyter kernelspec uninstall py37

Comments

2021-10-27