Here’s a small self-contained example of how to setup a working conda environment with mamba (you can add jupyter in the mamba create line:
As for other ways, I would suppose reinstalling Jupyter in the same Python environment of your ROOT installation should fix the issue. I don’t know the brew command for it. If you install ROOT via brew, I suppose you should also install Jupyter via the same command and not mix it with other Python executables