[Turn] jupyter notebook choice conda environment

Original link: https://blog.csdn.net/u011606714/article/details/77741324

 

You need to install:

conda install ipykernel

Use:
First, activate the corresponding conda environment

source activate the name of the environment

The kernel environment is written in the notebook

python -m ipykernel install --user --name name of the environment --display-name "Python (environment name)"

Then open notebook

jupyter notebook

Browser opens the corresponding address, the new python, there will be a corresponding environmental cues

Guess you like

Origin www.cnblogs.com/exciting/p/12014432.html