0

I want to try out Jupyter Lab. I have macOS Ventura 13.4 installed. I installed Jupyter Lab and Notebook using pip as per https://jupyter.org/install. While I can get Notebook running (although I get the error Error Loading Theme Stylesheet failed to load: http://localhost:8888/lab/api/themes/@jupyterlab/theme-light-extension/index.css), I also cannot get Jupyter lab going.

% jupyter lab      
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json] [--debug]
               [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

options:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable
                 format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: console dejavu events execute kernel kernelspec migrate
nbconvert notebook qtconsole run server troubleshoot trust

Jupyter command `jupyter-lab` not found.
laranajim@Laras-MacBook-Pro-2 ~ % jupyter lab     
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
               [--paths] [--json] [--debug]
               [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

options:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable
                 format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: console dejavu events execute kernel kernelspec migrate
nbconvert notebook qtconsole run server troubleshoot trust

Jupyter command `jupyter-lab` not found.

I've tried googling how to fix this and doing whatever it tells me to (I imagine this isn't advisable and I've created a mess) but I can't get it to work. TIA :)

  • You can use Homebrew to manage your Jupyter environment without encountering these errors. Do `brew install python3`, then `brew install jupyterlab`, then follow the on-screen commands to force symlinks if you need to. Run `jupyter lab build`, then run `jupyter lab` in your project directory to see that it works. https://jupyter.org/install#homebrew – Aeronautix Aug 10 '23 at 10:45
  • This worked thanks!! You can post an answer for me to accept if you'd like. – runningoutoftime Aug 11 '23 at 05:41

0 Answers0