Switch to this environment at the anaconda prompt, take tf2 as an example
activate tf2
Install ipykernel
conda install ipykernel
python -m ipykernel install --name tf2
Restart jupyter, you can see
Click to use
However, if you cannot connect to the service
Then after switching to the environment at the anaconda prompt, use jupyter notebook to enter jupyter
and then change
it here .
I tried other methods on the Internet to no avail. If there is a good method for a big guy, come to the comment section to save the child.
Good guys, don’t bother, one sentence conda install nb_conda
In the base environment, conda install nb_conda is ok, no need to be so troublesome