% jupyter
zsh: command not found: jupyter
The most common reason for this error is Jupyter Notebook has not been installed on your Mac, you can do that by the below command,
pip3 install notebook
If you think Jupyter has been installed
The first thing you do is make sure where is Jupyter Notebook has been installed on your Mac.
% pip3 show notebook
Name: notebook
Version: 6.5.4
Summary: A web-based notebook environment for interactive computing
Home-page: http://jupyter.org
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.com
License: BSD
Location: /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages
Requires: argon2-cffi, ipykernel, ipython-genutils, jinja2, jupyter-client, jupyter-core, nbclassic, nbconvert, nbformat, nest-asyncio, prometheus-client, pyzmq, Send2Trash, terminado, tornado, traitlets
Required-by:
If you get a warning that the package is not found, you can also try the whereis or which command.
% whereis jupyter
jupyter: /Library/Frameworks/Python.framework/Versions/3.11/bin/jupyter
% which jupyter
/Library/Frameworks/Python.framework/Versions/3.11/bin/jupyter
So in my case, I have to make sure that the PATH "/Library/Frameworks/Python.framework/Versions/3.11/bin/" is available in the $PATH variable.
export PATH="/Library/Frameworks/Python.framework/Python/3.x/bin:$PATH"

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to zsh,
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- macOS Ventura 13: The default interactive shell is now zsh
- Fix: cd: string not in pwd
- How to reload Zsh .zshrc Profile
- Resolve - zsh: command not found: code
- Ubuntu zsh: command not found: nano
- Fix: zsh: command not found: mysql (Mac XAMPP)
- Setting up Zsh Syntax Highlighting
- Fix zsh: permission denied: script.sh
- Fix - zsh: command not found: conda [macOS]
- zsh: command not found [fix] macOS
- ZSH: exec format error eclipse M1/M2 Mac
- Fix for zsh: command not found: brew
- Fix: zsh: command not found: npm after installation (Node.js)
- How to reload zsh shell profile file?
- How to Add New Entry to ZSH PATH
- How to make ZSH as the default shell on Ubuntu
- How to fix: zsh: command not found: jupyter
- How to clear ZSH history of commands executed on Mac Terminal
- Fix - zsh: command not found: pip
- Fix - cd: no such file or directory: .zshrc
- Add Syntax Highlighting in Zsh Shell
- Fix: ZSH: cd: too many arguments (macOS)
More Posts:
- How to check your installed version of Git - Git
- Fetch only content-type using cURL Command - cURL
- How to Open TextEdit on Mac - MacOS
- How to get end of line (EOL) or new line character \r \n in Java - Java
- macOS Ventura XCode Command Line Tools Installation - MacOS
- Launch Notepad++ html document in any web browser - NotepadPlusPlus
- Ways to Convert Java Array to Stream - Java
- Sublime Add text at start and end of each line - Sublime