ERROR: Running cells with 'xyz (Python 3.9.11)' requires the ipykernel package

I ran into a problem in Jupyter. I got this error:
Running cells with ‘xyz (Python 3.9.11)’ requires the ipykernel package.
After trying to install it using command
conda install -n xyz ipykernel --update-deps --force-reinstall the error is still there.

Can you advise how to solve it, pls?