Problem when running Jupiter notebook

When I try to run Jupyter notebook via “jupyter notebook” from the command line, I get the following error:

Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.9/bin/jupyter-notebook”, line 8, in
sys.exit(main())
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jupyter_core/application.py”, line 264, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/traitlets/config/application.py”, line 845, in launch_instance
app.initialize(argv)
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/traitlets/config/application.py”, line 88, in inner
return method(app, *args, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/notebookapp.py”, line 2143, in initialize
super().initialize(argv)
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/traitlets/config/application.py”, line 88, in inner
return method(app, *args, **kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jupyter_core/application.py”, line 239, in initialize
self.migrate_config()
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jupyter_core/application.py”, line 165, in migrate_config
migrate()
File “/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jupyter_core/migrate.py”, line 245, in migrate
with open(os.path.join(env[‘jupyter_config’], ‘migrated’), ‘w’) as f:
PermissionError: [Errno 13] Permission denied: ‘/Applications/root_v6.24.06/etc/notebook/migrated’

How can I get this permission, or is there another way around this problem? I tried downloading root again via conda, but it got stuck. Thank you!

May be @etejedor can help.

Hi,

If you install ROOT via conda it should help:

So I’ll try that again.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.