Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execution error: Can't open jupyter notebook on command line (MacOS)

I am a novice just starting to learn Python and other computer languages. I installed Jupiter notebook on my Mac and also anaconda and just encountered a problem when I tried to open jupyter notebook on my command.

The message popped out as :

execution error: "~~~(I just abbreviated the location)" doesn’t understand the “open location” message. (-1708)

I have no sense what's happening here.

How can I solve this?

like image 579
user7835411 Avatar asked Oct 25 '25 00:10

user7835411


1 Answers

This issue has been solved in the jupyter notebook github repo.

One solution would be to set you browser, for instance:

c.NotebookApp.browser = u'Safari'

in the config file: ~/.jupyter/jupyter_notebook_config.py

like image 174
jjrr Avatar answered Oct 26 '25 19:10

jjrr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!