My code was running fine before I did not change anything and I ran it again. Now it doesn't return anything not even an error. It is just stuck on "In [*]".
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
I have installed jupyter with command
pip3 install jupyter
and have the same problem. when instead I used the commandpip3 install jupyter ipython
the problem was fixed.Sometimes the extensions also create a problem. I was using a dark mode extension(Night Eye) in Microsoft edge. So kernel was busy. When I uninstalled it. It working fine.
I fixed this issue
just only type this command:
jupyter notebook --no-browser
It will show you the path then copy and paste on Jupyter Notebook browser
The code will be executed in IPython Notebook Python 3
What I did was to quit the Notebook, and I started all over again. That is the proper solution. Restarting the Kernel really did not really help. But quitting did so try quitting and start again
The answers that state that your kernel is still executing the code in the cell are correct. You can see that by the small circle in the top right. If it is filled with a black/grey color, then it means it is still running.
I just want to add that I experienced a problem in JupyterHub where the code in the cell would just not execute. I stopped and restarted the kernel, shutdown and reloaded the notebook, but it still did not run.
What worked for me was literally copy pasting the same code to a new cell and deleting the old one. It then ran from the new cell.
From my experience, it usually means one of the prior cells is keeping the kernel busy. When you hit run on the intended cell and
[*]
appears, from there, try to scroll up to the prior cell which is also advertising a[*]
. Then gotokernel
->interrupt
, and lastly, try running the cell again.