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:
2. First, determine whether to install the package 'ipykernel', if not, install it; if it is installed, proceed to the next step.
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.
4. At this point, complete all operations and enter jupyter notebook for verification
5. You're done
At this point, all operations are completed, please like it if it is useful, thank you~~!