doc-exports/docs/modelarts/umn/modelarts_13_0246.html
Lai, Weijian 4e4b2d5f6d ModelArts UMN 23.3.0 Version.
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-06-26 07:03:02 +00:00

3.0 KiB

What Do I Do If No Kernel Is Displayed After a Notebook File Is Created?

Symptom

After a notebook file is created, "No Kernel" is displayed in the upper right corner of the page.

Possible Causes

The code.py file in the work directory conflicts with the name of the import code file on which the kernel depends.

Solution

  1. View the latest log file starting with kernelgateway in /home/ma-user/log/ and search for the logs near Starting kernel. If the stack similar to the following is displayed, the possible cause is that the name of the code.py file in the work directory conflicts with the name of the import code file on which the kernel depends.

  2. To resolve this issue, rename the code.py file in the work directory.

    code.py and select.py are typically prone to conflict.