Skip to content

hdouhua/pick-up-python

Repository files navigation

jupyter-test

JUlia + PYThon + R

to pick up python skill again

setup runtime environment by annaconda

  • 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

jupyter magic method

jupyter shortcuts

jupyter in cloud

mybinder URL: https://mybinder.org/v2/gh/hdouhua/jupyter-test.git/master

About

douhua's jupyter test in cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published