如何在Jupyter Notebook切換conda環境

1.  在你的jupyter notebook環境安裝nb_conda_kernels

conda install -n notebook_env nb_conda_kernels

2. 如果你用的python,在你要導入的conda環境下安裝ipykernel

conda install -n python_env ipykernel

3. 如果你用的R,則

conda install -n r_env r-irkernel

4. 啓動Jupyter Notebook

 

from: https://github.com/Anaconda-Platform/nb_conda_kernels

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章