When encountering Jupyter Notebook, error appears when naming and there is no output after running. It just adds a line of empty code downwards, and [ ] is empty. To open Jupyter Notebook, you have to copy and paste the address into the browser, but as long as you open Jupyter Notebook interface, cmd will be closed.
Questions are as follows:
Solution: (I downloaded the Jupyter Notebook using Anaconda before)
Refer to @nitroclassmate
①: First find python.exe in the Anaconda download directory and copy its path
②: Search for "cmd" in the lower left corner of the desktop and open it as an administrator.
The key point is to open it as an administrator. I didn't do it the first few times, so there were a lot of problems.
***Enter "cd space and then press ctrl+v"*** (that is, cd plus space and the path you just copied) and
press Enter
*Input again python.exe -m pip uninstall pyzmq
(*I don’t know why but just do it)
Enter
and enter “y” again
Enter and press python.exe -m pip install pyzmq==19.0.2
Enter
again and enter "y"
again. Although there is still an error, Jupyter Notebook can be opened and run normally.