Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use Jupyter Notebook on macOS Catalina (without anaconda)?

I've tried since yesterday to launch anaconda after I install the new version of macOS Catalina (before I understand that it is a beta version), and I finally find a way. But unfortunately, I can not launch Jupiter notebook from terminal because apparently it is not installed and it doesn't want to neither. How can I fix that ?

like image 340
NED Avatar asked Oct 11 '19 14:10

NED


2 Answers

I have also found some problems with the new Catalina update. I believe this may be due to the terminal switching from bash to zsh.

However, I have been able to make Jupyter notebook work again by running (just double-click) the "Update Shell Profile.command" file located in the "Python 3.7" folder (found in the Applications folder).

Then run jupyter notebook on the terminal as usual.

Let me know if this helps!

PS: While you are at it you might also want to run the "Install Certificates.command" file.

like image 139
Carlos Avatar answered Sep 30 '22 14:09

Carlos


Try installing Jupyter with Homebrew, this method has worked for me.

Use the following command in Terminal:

brew install jupyter

Then launch a Jupyter notebook with:

jupyter notebook

This should also work for JupyterLab:

jupyter lab

And in case you don't have Homebrew installed, start with the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
like image 39
bcrvc Avatar answered Sep 30 '22 14:09

bcrvc