使用 nb_conda_kernels 添加所有環境
一鍵添加所有 conda 環境
conda activate my-conda-env # this is the environment for your project and code
conda install ipykernel
conda deactivateconda activate base # could be also some other environment
conda install nb_conda_kernels
jupyter notebook
這里的?conda install nb_conda_kernels
?是在 base 環境下操作的。
安裝好后,打開 jupyter notebook 就會顯示所有的 conda 環境啦,點擊隨意切換。