jupyter notebook does not start on mac fish

!Mac OS X-10.15.7!ruby-2.7.1p83

Symptoms

When I put anaconda3 in osx (catalina) and launched a jupyter notebook from Anaconda-Navigator.app, I got the following error on the terminal and died.

$ /****/****/anaconda3/bin/jupyter_mac.command ; exit;
Failed to execute process '/****/****/anaconda3/bin/jupyter_mac.command'. Reason:
exec: Exec format error
The file '/****/****/anaconda3/bin/jupyter_mac.command' is marked as an executable 
but could not be run by the operating system.

Solution

This is because the default shell of terminal is set to fish. The following shebang at the beginning of jupyter \ _mac.command

#!/bin/bash

Was added and solved.

Probably the same with zsh (unverified).


Recommended Posts

jupyter notebook does not start on mac fish
Try running Jupyter Notebook on Mac
Jupyter Notebook does not show matplotlib graphs
When Anaconda Navigator (Mac) does not start
Start jupyter notebook on GPU server (remote server)
What to do if Jupyter Notebook on WSL does not start automatically in your browser
How to fix a bug that jupyter notebook does not start automatically
View PDF on Jupyter Notebook
Run Jupyter Notebook on windows
[Memo] Display Jupyter Notebook on PC in monospaced font (Mac)
Day 65 (Solution) Jupyter notebook does not work with Kernel Not Conected.
Browser does not open automatically when jupyter notebook is started
Formatting with autopep8 on Jupyter notebook
[Centos8] logrotate does not start properly
Run azure ML on jupyter notebook
LocateCenterOnScreen does not work on PyAutoGui
Jupyter does not show matplotlib graph
When the program pip installed on Mac / Marvericks does not work
Path problem does not occur on debian-linux
Make Jupyter Notebook a service on CentOS
Try SVM with scikit-learn on Jupyter Notebook
I want to display an image on Jupyter Notebook using OpenCV (mac)
Virtualenv does not work on Python3.5 (Windows)
Clone the github repository on jupyter notebook
GPU check of PC on jupyter notebook
Display histogram / scatter plot on Jupyter Notebook
Build jupyter notebook on remote server (CentOS)
Use vim keybindings on Docker-launched Jupyter Notebook
I managed to solve the situation where Python does not work on Mac
What to do when the graph does not appear in jupyter (ipython) notebook
LocateCenterOnScreen does not work on PyAutoGui
Path problem does not occur on debian-linux
Virtualenv does not work on Python3.5 (Windows)
tensorflow does not enter in windows + anaconda.
In Ruby, inspect does not substitute to_s
Jinja2 2.9.6 does not work on Lambda Python 3 series
jupyter notebook does not start on mac fish
Install matplotlib and display graph on Jupyter Notebook
[Jupyter Notebook / Lab] 3 ways to debug on Jupyter [Pdb]
[Pythonocc] I tried using CAD on jupyter notebook
Jinja2 2.9.6 does not work on Lambda Python 3 series
Try Apache Spark on Jupyter Notebook (on local Docker
Remotely open Jupyter notebook launched on the server
Jupyter Notebook memo
Introducing Jupyter Notebook
Powerful Jupyter Notebook
Golang on jupyter
python on mac
Jupyter on AWS
Jupyter notebook password
Jupyter Notebook memo
Run Tensorflow from Jupyter Notebook on Bash on Ubuntu on Windows
Monitor the training model with TensorBord on Jupyter Notebook
Try basic operations for Pandas DataFrame on Jupyter Notebook
Mac application for double-clicking to open Jupyter Notebook (* .ipynb)
EC2 provisioning with Vagrant + Jupyter (IPython Notebook) on Docker
[Windows] [Python3] Install python3 and Jupyter Notebook (formerly ipython notebook) on Windows