(base) root@kali:~# jupyter notebook
[C 20:24:50.702 NotebookApp] Running as root is not recommended. Use --allow-root
not able to run jupyter notebook ...
@poorguy - The OP is running Kali, where the only user IS root.
@pratap73 - The program is complaining because it isn't meant to run as root. The error message is telling you to use the --allow-root option to allow the program to run as root.
Just an FYI. In Kali, you can choose to make one or more regular Users with restricted access, and I do not know if the program would run under that environment, without complaint.