add kernel jupyter notebook code example
Example 1: add kernel to jupyter
python -m ipykernel install --user --name=myenv
Example 2: change kernel from a jupyter cell
%%javascript
Jupyter.notebook.session.restart({kernel_name: 'python3'})
python -m ipykernel install --user --name=myenv
%%javascript
Jupyter.notebook.session.restart({kernel_name: 'python3'})