设置jupyter notebook的python environment

(base)$ conda install nb_conda_kernels
(base)$ conda create --name new-env

(base)$ conda activate new-env
(new-env)$ conda install ipykernel

(base)$ conda deactivate
(base)$ jupyter notebook

click kernel, select change kernel, you will see your environment.

参考:
[1] https://towardsdatascience.com/get-your-conda-environment-to-show-in-jupyter-notebooks-the-easy-way-17010b76e874

posted @ 2023-04-12 13:26  xiaoxuxli  阅读(26)  评论(0编辑  收藏  举报