Hello,
seems like it is a system wide issue. Since i am not able to run ipynb files even on jupyter notebook.
The error details:
(base) nak4si@SI-V-00003:~$ jupyter notebook
[I 2021-06-25 13:17:18.809 LabApp] JupyterLab extension loaded from /home/nak4si/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 2021-06-25 13:17:18.809 LabApp] JupyterLab application directory is /home/nak4si/anaconda3/share/jupyter/lab
[I 13:17:18.816 NotebookApp] Serving notebooks from local directory: /home/nak4si
[I 13:17:18.816 NotebookApp] Jupyter Notebook 6.4.0 is running at:
[I 13:17:18.816 NotebookApp] http://localhost:8888/?token=5c8a3fbd39049d0be3ce2c0edb37d26ce84e192db4bcd805
[I 13:17:18.816 NotebookApp] or http://127.0.0.1:8888/?token=5c8a3fbd39049d0be3ce2c0edb37d26ce84e192db4bcd805
[I 13:17:18.816 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 13:17:18.879 NotebookApp]
To access the notebook, open this file in a browser:
file:///home/nak4si/.local/share/jupyter/runtime/nbserver-256287-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=5c8a3fbd39049d0be3ce2c0edb37d26ce84e192db4bcd805
or http://127.0.0.1:8888/?token=5c8a3fbd39049d0be3ce2c0edb37d26ce84e192db4bcd805
[I 13:17:24.208 NotebookApp] Creating new notebook in
[E 13:17:24.510 NotebookApp] Uncaught exception GET /notebooks/Untitled10.ipynb?kernel_name=python3 (127.0.0.1)
HTTPServerRequest(protocol=‘http’, host=‘localhost:8888’, method=‘GET’, uri=’/notebooks/Untitled10.ipynb?kernel_name=python3’, version=‘HTTP/1.1’, remote_ip=‘127.0.0.1’)
Traceback (most recent call last):
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/tornado/web.py”, line 1704, in _execute
result = await result
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/tornado/gen.py”, line 775, in run
yielded = self.gen.send(value)
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/notebook/notebook/handlers.py”, line 101, in get
get_frontend_exporters=get_frontend_exporters
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/notebook/base/handlers.py”, line 516, in render_template
return template.render(**ns)
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/jinja2/environment.py”, line 1289, in render
self.environment.handle_exception()
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/jinja2/environment.py”, line 924, in handle_exception
raise rewrite_traceback_stack(source=source)
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/notebook/templates/notebook.html”, line 1, in top-level template code
{% extends “page.html” %}
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/notebook/templates/page.html”, line 154, in top-level template code
{% block header %}
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/notebook/templates/notebook.html”, line 115, in block ‘header’
{% for exporter in get_frontend_exporters() %}
File “/home/nak4si/anaconda3/lib/python3.7/site-packages/notebook/notebook/handlers.py”, line 40, in get_frontend_exporters
for name in get_export_names():
File “/home/nak4si/.local/lib/python3.7/site-packages/nbconvert/exporters/base.py”, line 146, in get_export_names
e = get_exporter(exporter_name)(config=config)
File “/home/nak4si/.local/lib/python3.7/site-packages/nbconvert/exporters/base.py”, line 103, in get_exporter
if getattr(exporter(config=config), ‘enabled’, True):
File “/home/nak4si/.local/lib/python3.7/site-packages/nbconvert/exporters/templateexporter.py”, line 330, in init
super().init(config=config, **kw)
File “/home/nak4si/.local/lib/python3.7/site-packages/nbconvert/exporters/exporter.py”, line 114, in init
self._init_preprocessors()
File “/home/nak4si/.local/lib/python3.7/site-packages/nbconvert/exporters/templateexporter.py”, line 497, in _init_preprocessors
conf = self._get_conf()
File “/home/nak4si/.local/lib/python3.7/site-packages/nbconvert/exporters/templateexporter.py”, line 517, in _get_conf
if conf_path.exists():
File “/home/nak4si/anaconda3/lib/python3.7/pathlib.py”, line 1361, in exists
self.stat()
File “/home/nak4si/anaconda3/lib/python3.7/pathlib.py”, line 1183, in stat
return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: ‘/usr/local/share/jupyter/nbconvert/templates/conf.json’
[E 13:17:24.525 NotebookApp] {
“Host”: “localhost:8888”,
“User-Agent”: “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0”,
“Accept”: “text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8”,
“Accept-Language”: “en-US,en;q=0.5”,
“Accept-Encoding”: “gzip, deflate”,
“Connection”: “keep-alive”,
“Referer”: “http://localhost:8888/tree”,
“Cookie”: “username-localhost-8888=“2|1:0|10:1624619840|23:username-localhost-8888|44:YmNjM2Y5ZWVmY2RhNDNiNjg4ZjI1YTBmNDI0OWFkZDI=|f413f6a723fd640568f8523bd9612cfa60d0985d7ea22e7679a73675fc1aecc3”; _xsrf=2|75f08fec|7fb2f9de88df51d1104947546e40b512|1624604371”,
“Upgrade-Insecure-Requests”: “1”
}
[E 13:17:24.525 NotebookApp] 500 GET /notebooks/Untitled10.ipynb?kernel_name=python3 (127.0.0.1) 236.920000ms referer=http://localhost:8888/tree
I am not sure what can be doone to solve this.
Thanks in advance for any support.