JUlia + PYThon + R
to pick up python skill again
-
setup jupyter or jupyter lab
-
setup python env for special purpose with pyenv / conda env / mamba env
-
setup ipy-kernel on the specific python env
conda install -c conda-forge ipykernel ipython kernel install --user --name=<any_name_for_kernel> # or python -m ipykernel install --user --name=<any_name_for_kernel>
list all kernel in jupyter
jupyter kernelspec list
delete some unwanted kernel
jupyter kernelspec uninstall unwanted-kernel
-
start jupyter notebook or lab, then pick up ipykernel
jupyter notebook # or jupyter lab jupyter lab
other useful command, please refer to the cheatsheet of conda
-
to list jupyter runtime
jupyter --version
-
to support interactive UI, install ipywidgets, may need nodeJS
-
to create environment by cloning base
conda create --name fine --clone base
-
to check the environment of conda
conda info -e
-
remove cached package tarballs
conda clean --tarballs mmb clean --tarballs
- Built-in magic commands
- %env
- %run
- %load
- %store
- %%time
- %timeit
- %%writefile
- %pycat
- %prun
- %pdb
mybinder URL: https://mybinder.org/v2/gh/hdouhua/jupyter-test.git/master