I'm on a Mac M1 Max running OS 12.5 and Python 3.10.4. I run pip3 install jupyter
and the installation went fine but I get the warnings
WARNING: The script jupyter-console is installed in '/Users/userXYZ/Library/Python/3.10/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Apparently I need to add /Users/userXYZ/Library/Python/3.10/bin
to the PATH.
Update (after following the comment by @csgeek)
Following this, in the python console I run
import sys
sys.path.insert(0,'/Users/userXYZ/Library/Python/3.10/bin')
The command run without visible output or errors, but when I type jupyter-lab
in the terminal I get command not found. On the other hand, invoking the full path works:
/Users/userXYZ/Library/Python/3.10/bin/jupyter-lab
Hence my questions:
- How do I add to the PATH?
- How do I check the contents of the PATH to see if it is updated?
- I am running from an account without administrative privileges. Does this make a difference?