Python cells cannot run

Asked 1 years ago, Updated 1 years ago, 71 views

When I try to run a program in Python (I'm using an anaconda), sometimes the order of the programs is [*] instead of [1], and I can't run it even if I run the program in that state.

I would like to know why the program cannot be executed and how to make the original program run.I'm a beginner, so I'd like to ask you to make it as easy to understand as possible.
Cells when the following program cannot be run

↓ This is where it changes.

[*]:print('k')

python anaconda jupyter-notebook

2022-09-30 14:26

1 Answers

(This answer is based on the assumption that you are using the Jupyter Notebook of Anaconda.)

Stack overflow home

I think it would be helpful to know that

Answers and comments say kernel is busy or evaluating.
Simply put, it means that the computer is too busy to accept new processing now (maybe it will work if you wait).

You may be able to restart with Kernel>Restart as shown in (it may not be possible depending on the condition).

also had information.

Kernel->After Restart, you can now enter it by Shift+Enter.

Therefore, you should try Shift+Enter after Kernel>Restart.

Or

Run cell, select below button to run.

I think you should try it.


2022-09-30 14:26

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.