I am doing my project on machine learning in an anaconda jupyter notebook and also I have tried spyder but in both of them, the kernel is automatically dead. so anyone can tell me how can I resolve this problem with the MacBook air m1.
Replies
Hi @kskrishna!
Thanks for reporting the issue. Can you check what version of the Operating System are you on? Additionally we would need to know the version of tensorflow-macos and tensorflow-metal packages you have installed as well as the version of jupyter notebook you are running in order to try and reproduce this problem.
-
One thing that we suspect might cause this is having multiple conflicting installations of tensorflow in your python environment. Note that you need to have python packages
tensorflow-macosandtensorflow-metal. What you don't want is the python packagetensorflowto coexist in your environment with the other because that might cause a conflict.Can you please paste what
python -m pip listprints out in the environment where you launch jupyter notebook (optimally you'd do it in the notebook but since the kernel just dies it can't be helped).