[Organization] A possible reason and solution for the python3 kernel not running in jupyter notebook

1. Problem overview  

1. Problem overview

        I have been using sublime before. In order to better use pyecharts, I started to use jupyter notebook, and then it has not been smooth, and the problem has not been solved until just now. Now I still remember to quickly write down the problems I encountered and the pitfalls I stepped on, so that I can remember it if I forget it later.

        My personal situation is that I first installed python3.9.2, then installed jupyter with pip, and finally installed anaconda3 (including python3.8), and everything went smoothly until the end of the installation.

        After that, it has not been smooth since then. When I opened jupyter, I found that the code has not been running. I clicked Run on the selected cell to jump directly to the next cell without outputting the result. Omit the troubleshooting process, and finally found two problems, one is that the ipynb file is not trusted, and the other is that the python3 kernel is occupied. The general situation is similar to the picture below (the source of the picture is Post Bar, my situation is even worse and it is not credible).

        The possible reason for the first problem is that there are two sets of python in my system, and the two sets of python have jupyter respectively. Each set of python trusts its own jupyter but not each other. I had a wrong call when using jupyter, so I had a distrust. this

Guess you like

Origin blog.csdn.net/nan_julian/article/details/119519889