jupyter notebook選擇conda環境

須要安裝:python

conda install ipykernel瀏覽器

使用:
首先激活對應的conda環境ip

source activate 環境名稱di

將環境寫入notebook的kernel中co

python -m ipykernel install --user --name 環境名稱 --display-name "Python (環境名稱)"display

而後打開notebookplay

jupyter notebook

瀏覽器打開對應地址,新建python,就會有對應的環境提示了

相關文章
相關標籤/搜索