To solve Python requires ipykernel to be installed refer the solution below.
Method 1 : This issue, I believe, arises primarily when employing a conda environment. The problem occurs even after upgrading the ipykernel in the proper environment. Install the nb conda kernels package in the conda environment where your Jupyter notebook will run.
env_name in the below command is the environment name you are using
conda install -n env_name nb_conda_kernels
If this method doesn’t work, try the below one.
Method 2 : It was caused by the
pyzmq package, which was installed in the conda(base) environment. You can resolve the issue by uninstalling and reinstalling the
pyzmq package in the conda environment. Follow below commands.
pip uninstall pyzmq pip install pyzmq
Hope it resolves the issue.