Exception: Jupyter command `jupyter-lab` not found.

Synopsis

I succeeded in renting a new Mac from the laboratory, so I will build an environment for the new Mac! This is a story that I had trouble installing the Editor called Jupyter lab, which I use regularly. The error statement that appeared at that time is as follows.

Error statement


Traceback (most recent call last):
  File "/usr/local/bin/jupyter", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/jupyter_core/command.py", line 230, in main
    command = _jupyter_abspath(subcommand)
  File "/usr/local/lib/python3.7/site-packages/jupyter_core/command.py", line 133, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-lab` not found.

I should have installed it

That's right, I struggled to get an error message saying that juupyterlab could not be found even though it should have been installed.

The solution from the conclusion is to uninstall jupyterlab once and

sudo pip3 install jupyterlab

I was able to solve it by typing. It seems that it made sense to type in sudo.

Postscript

If you have added jupyterlab by the above method, you may not be able to install the extension. How I solved it when I couldn't https://qiita.com/lindq_yu/items/cd696502085369809826 Please check it as it is described in.

Recommended Posts

Exception: Jupyter command `jupyter-lab` not found.
command not found: django-admin
Command is not found in sudo
Command not found with sudo rosdep init in ROS setup
Error: pg_config executable not found
filter rollbar python 404 not found
jupyter nbextension, nbextensions_configurator installation command
[Error] Symbol not found: _PyUnicodeUCS2_Compare
[Super Beginner] [Tired Intermediate] When "command not found" or "command not found" is displayed