- Mastering OpenCV 4 with Python
- Alberto Fernández Villán
- 139字
- 2025-04-04 14:41:17
Installing Jupyter with pip
You can also install Jupyter using Python's package manager, pip, by running the following commands:
$ python -m pip install --upgrade pip
$ python -m pip install jupyter
At this point, you can start the notebook server by running the following command:
$ jupyter notebook
The previous command will show you some key information in connection with the notebook server, including the URL of the web application (which by default is http://localhost:8888). It will then open your default web browser to this URL. To start a specific notebook, the following command should be used:
$ jupyter notebook notebook.ipynb
This was a quick introduction to notebooks. In the next chapters, we are going to create some notebooks, so you will have the opportunity to play with them and gain full knowledge of this useful tool.