The Kernel crashed while executing code in the current cell or a previous cell

Hi @zdan2808

Try restarting the kernel and re-running your code a few times. If the issue persists check the log section od the error and kindly share it here for further investigation.

heres the log sir

Make sure that all required libraries and dependencies are up to date.
Did you try restarting your kernel? In the past few weeks, I have encountered this, but I resolved it by restarting the kernel a few times.

how to make all libraries and dependencies are up to date sir ?
yes i have been restarting the kernel for a several time, its still same

You can use the following commands in your terminal / command prompt

pip install --upgrade pip
pip install --upgrade <library_name>

If you’re using Anaconda distribution:

conda update --all

After updating the libraries, restart your kernel again to see if the issue persists. If the problem persists there might be another underlying issue that must be fixed.

You can also use a Virtual Environment, it is a good practice for managing dependencies and making sure that your project’s environment is isolated from others.

okee sir I’ll try it

how to access in the logs