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.
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
.
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