kernel errors in jupyter notebook

I didn't understand for a long time. . .

In the jupyter notebook, both my pytorch and tensorflow can activate the kernel, but python3 cannot activate the kernel. There is also a python [conda env:root]* I don’t know what this thing is for. If anyone knows, please advise.

Method 1: The administrator runs jupyter notebook (know the method)

Method 2: Open the anaconda prompt and enter the following code in the base environment.

conda install ipykernel

           It used to be python3, but now it has become python3 (ipykernel)... I don't understand, I don't understand... Anyway, I can use it

(Reason: jupyter notebook is in anaconda, so I enter the conda env list in the Anconda prompt to see what environments are there, including base, pytorch, and tensorflow environments. Since my pytorch and tensorflow have kernels, only the base environment does not Kernel, then I want to try to install the kernel in the base environment.)

Guess you like

Origin blog.csdn.net/lsx1_23/article/details/122390699