jupyter notebook multi-environment conda kernel configuration

jupyter notebook multi-environment conda kernel configuration

I have never been able to remember the skills of configuring multi-environment compilers in jupyter notebook. I will summarize it here. I hope it will be helpful to other friends. If it is useful, please like it!

1. For Windows users, win+R, enter cmd to enter the command line, and activate the environment:

1

2. First, determine whether to install the package 'ipykernel', if not, install it; if it is installed, proceed to the next step.

write picture description here

3. Then enter the command:
python -m ipykernel install --user --name deeplearningproject --display-name "deeplearningproject"

Note: For the above two deeplearningprojects, the former is the name of its own environment and cannot be changed; the latter is the display name in the jupyter notebook, which can be modified.

write picture description here

4. At this point, complete all operations and enter jupyter notebook for verification

write picture description here

5. You're done

write picture description here

At this point, all operations are completed, please like it if it is useful, thank you~~!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326017882&siteId=291194637