jupyter-notebook command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
jupyter-notebook: command not found
or when using sudo you get the following error message
sudo: jupyter-notebook: command not found
Solutions to jupyter-notebook: command not found
How To Fix jupyter-notebook: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu jupyter-notebook is provided by jupyter-notebook package.
jupyter-notebook is:
The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text. The Notebook has support for multiple programming languages, sharing, and interactive widgets.
This package provides the jupyter subcommands “notebook”, “nbextension”, “serverextension” and “bundlerextension”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install jupyter-notebook
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install jupyter-notebook.
sudo apt -y install jupyter-notebook
Or if you have aptitude installed you can use the following command.
sudo aptitude install jupyter-notebook
Summary
In this tutorial we learn how to fix jupyter-notebook command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.