Anaconda adds kernel to Jupyter notebook

For Anaconda installation and environment creation, read this article: https://blog.csdn.net/fyfy96/article/details/128155222?spm=1001.2014.3001.5501

1. Open Anaconda Prompt and enter the environment

Insert image description here

2. Add kernel to Jupyter notebook

 pip install jupyter notebook

3.Install ipykernel

pip install ipykernel
python -m ipykernel install --name TF2
这里面的‘TF2’是核心的名字,也可以随便取

Restart Jupyter notebook and you will see that the new Kernel has been loaded.
Insert image description here

Guess you like

Origin blog.csdn.net/fyfy96/article/details/132541811