Bash: jupyter-lab: command not found

I’m not sure this is in any way involved for your case; however, I’m posting this more here as a guide for others trying to troubleshoot that may end up here since you have the invoking line listed. …
Minor part of the issue is the invoking syntax is even listed differently in a few places and sometimes you need to try a few, as touched on in this thread.
Presently, jupyter org install page lists “Once installed, launch JupyterLab with”:

jupyter-lab

Presently, the documentation for JupyterLab itself says. “Start JupyterLab using:”

jupyter lab:

I ended up listing the variations I came across here. I suspect there was some working out which is the best command that is consistent with others, with different preferences coming up here and there.


Hopefully someone else with more insight can explain what you are seeing with those two different systems. My quick guess would be that Apple often moves things around between system versions. This post by Matthias Fripp touches on a lot of this for El Capitan.


Specifically, in your case, you don’t say if these are both fresh systems or not? Could it be one or both also had some aspects of Jupyter installed on them before you tried?


I just tend to use Anaconda to install a Python distribution on remote Linux machines that I use. I would probably also try that on a Mac if I were looking to use Python & JupyterLab for serious development on a local machine, see here. Letting Homebrew handle things is a good route on Macs.

1 Like