View existing versions :
jupyter kernelspec list
zhanglei ~ jupyter kernelspec list
Available kernels:
python3 /opt/homebrew/lib/python3.9/site-packages/ipykernel/resources
python3910hvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e /Users/zhanglei/Library/Jupyter/kernels/python3910hvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e
zhanglei ~
Delete an old version :
jupyter kernelspec uninstall python3910hvsc74a57bd0b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e