0

l am running a notebook instance as usual.

But suddenly something was wrong. The notebook failed to give out anything. So l use a simple line of code to test it, which returns the following result: my test result

The notebook even failed to run so simple a code, and the kernel is showing a 'busy' state.(right-up corner)

Simultaneously I'm running another .py file through the terminal, which works well all along.

Anyone gets an idea? Thanks for any possible reason told.

instance instance

My log console log console

bz_jf
  • 11
  • 4
  • Hello and welcome to stackoverflow. Can you include your image in your post (and not as links) using the [proper markdown syntax](https://meta.stackoverflow.com/questions/344851/how-do-you-add-a-screenshot-image-to-your-stack-overflow-post) ? Apart from that it would be helpful to include the logs of jupyter and of the kernel – tbrugere Jul 31 '22 at 12:29
  • sorry, but users under 10-rep aren't allowed to post a picture. If l have to describe the picture, that is: [*] print(1) ,which lasts very long time and no output – bz_jf Aug 01 '22 at 00:56
  • alright, but still, if you want anybody to understand what is going on, we are going to need the logs – tbrugere Aug 01 '22 at 09:34
  • Thanks for reminding, l've included the log console in my question. l don't know why it's all blank. l've tried several times. – bz_jf Aug 01 '22 at 10:53
  • This question may be of interest: https://stackoverflow.com/questions/33632529/how-to-enable-and-access-debug-logging-for-notebook-and-ipython-kernel – tbrugere Aug 01 '22 at 11:51
  • (basically, run `jupyter` with the `--debug` option, and look at the output of the console) – tbrugere Aug 01 '22 at 11:52
  • well, seems the kernel has collapsed, no longer useful. So l reinstall another kernel and solve the problem. Thanks all for your suggestion. The method of checking logs also enlightens me a lot. – bz_jf Aug 01 '22 at 12:22

1 Answers1

0

if anyone encounters the condition in which the kernel is showing 'busy' and your can't run any code, just uninstall this kerenel and reinstall one.

Using 'conda'-related command about which you can easily find information on the Internet

bz_jf
  • 11
  • 4
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 03 '22 at 04:43