Search code examples
pythonjupyter-notebookdevelopment-environmentamazon-sagemaker

sagemaker notebook instance failed to run even a single line of code


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


Solution

  • 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