Hi all,
First off, I’m sorry, please forgive me I promise I’m not being dense. I’m doing some undergraduate research and so this is all pretty new to me. Given the behaviors I feel like I’m missing something very super basic like “the outlet is wired in series with the light so you have to turn on the light switch to run power to the outlet”.
I am running Ubuntu 20.04 LTS. I installed ROOT and Geant4 by hand both are functioning (probably unrelated but giving as much background as I can just in case). I then installed Anaconda 2.0.4. Anaconda installed Jupyter Notebook 6.3.0. Everything ran fine, worked fine. I ran my tests, everything produced expected data outputs. I then came back in the morning, turned on my computer and booted up $ anaconda-navagator
. It booted up as expected, clicked to launch Jupyter Notebook exactly as the night before. The navagator claimed it started the notebook but nothing popped up. Following troubleshooting guidelines I attempted running $ python notebook
and received the following Errno 13.
Traceback (most recent call last):
File "/home/a/anaconda3/bin/jupyter-notebook", line 11, in <module>
sys.exit(main())
File "/home/a/.local/lib/python3.8/site-packages/jupyter_core/application.py", line 254, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/a/anaconda3/lib/python3.8/site-packages/traitlets/config/application.py", line 844, in launch_instance
app.initialize(argv)
File "/home/a/anaconda3/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in inner
return method(app, *args, **kwargs)
File "/home/a/.local/lib/python3.8/site-packages/notebook/notebookapp.py", line 2116, in initialize
super().initialize(argv)
File "/home/a/anaconda3/lib/python3.8/site-packages/traitlets/config/application.py", line 87, in inner
return method(app, *args, **kwargs)
File "/home/a/.local/lib/python3.8/site-packages/jupyter_core/application.py", line 229, in initialize
self.migrate_config()
File "/home/a/.local/lib/python3.8/site-packages/jupyter_core/application.py", line 155, in migrate_config
migrate()
File "/home/a/.local/lib/python3.8/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: '/usr/local/root/etc/notebook/migrated'
I received the same error via $ jupyter-notebook
as well. Technically $ sudo jupyter-notebook --allow-root
brings up a note book but without any of the functionality. I’ve googled the issue and found a stack-overflow with the same issue but they are running on mac and none of the suggested fixes seem to work with ubuntu. This being the only direct representation of the same issue in the help forums reinforces my belief that I’m missing something super basic. Hopefully it is paired with a similarly basic fix.
Let me know if you need any more data. And thank you so so much in advance for all your help in advance.