-
First find
eventsloop.py
file To get this file we user either terminal or finder to search for. -
Open terminal and write
nano filepath/ipykernel/eventloops.py
In my case it will benano /opt/homebrew/lib/python3.9/site-packages/ipykernel/eventloops.py
-
navigate to
def _use_appnope()
change the return toreturn sys.platform == 'darwin' and V(platform.mac_ver()[0]) >= V('10.9') and platform.mac_ver()[2] != 'arm64'
-
Once you have made that edit and are sure you haven’t created a typo, then hold Control and hit x to exit.
-
It will ask you to save. Press y. Then press Return.
Last active
January 30, 2021 07:01
-
-
Save MohamedElashri/b5e7070487297a27d8419beee5e0d308 to your computer and use it in GitHub Desktop.
Fix Jupyter Notebook krenel dying in Mac M1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment