![]() The return line is what we are going to edit. Use your arrow keys to navigate to def _use_appnope(), which is the first function toward the bottom of the screenshot above.Type nano filepath /ipykernel/eventloops.py where filepath should be the specific filepath that takes you to that specific eventloops.py in the ipykernel folder.The important thing is that you find the eventloops.py file.) You will make one change to this file. (On my system, it is lib/python3.8/site-packages/ipykernel/eventloops.py, but yours may vary slightly. You will need to use the Terminal and/or Finder to find a filepath in your system that ends with ipykernel/eventloops.py. Step 7: Thanks to this link and user burakozdamar publicizing George Hotz' YouTube video, we learned a workaround that will stop your Jupyter notebook kernel from. Skip to the bottom for a note about TensorFlow (if TensorFlow is what you care about) or feel free to check out some of our other posts, mostly about computer vision, here. ![]() If you're able to run commands in your notebook – great! The tutorial is over.The traditional Jupyter interface, with several folders inside. Once you do, then click "New" (on the right-hand side) and open up a Python 3 notebook. Step 6: In your Terminal, type jupyter notebook and hit Return. You want to stop your kernel from repeatedly dying. Fix the Jupyter kernel issueĪt this point, Python and Jupyter should be installed. If that doesn't work, then head here and follow the instructions. Step 5: If you've installed Python but had trouble installing Jupyter, then go to your Terminal and type pip3 install jupyter. Once you're done, head back up to Step 3. Note that the normal Anaconda download won't work here, as the M1 computer isn't 64-bit. You'll need to login with your Apple ID and follow the instructions. Step 4: You can install Python by going to XCode Command Line Tools. ![]() New Mac operating systems should have it already installed, so if you're finding an error, make sure that there isn't a typo somewhere.
0 Comments
Leave a Reply. |