title: Creating new jupyter notebook: 500: Internal Server Error
body: <p>I have just installed Python 3.9.1 and pip 21.0.1, but I can't make Jupyter Notebook to work. I can open it, but I can't create a new Python 3 Notebook (500: Internal Server Error).
  I have tried different solutions that were suggested on stackoverflow, but nothing seems to work. Could someone point me in the right direction of what's going wrong here?</p>
  <pre><code>[E 12:31:46.068 NotebookApp] Uncaught exception GET /notebooks/Untitled1.ipynb?kernel_name=python3 (::1)
      HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/notebooks/Untitled1.ipynb?kernel_name=python3', version='HTTP/1.1', remote_ip='::1')
      Traceback (most recent call last):
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tornado/web.py&quot;, line 1704, in _execute
          result = await result
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tornado/gen.py&quot;, line 775, in run
          yielded = self.gen.send(value)
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/notebook/handlers.py&quot;, line 95, in get
          self.write(self.render_template('notebook.html',
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/base/handlers.py&quot;, line 516, in render_template
          return template.render(**ns)
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jinja2/environment.py&quot;, line 1090, in render
          self.environment.handle_exception()
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jinja2/environment.py&quot;, line 832, in handle_exception
          reraise(*rewrite_traceback_stack(source=source))
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/jinja2/_compat.py&quot;, line 28, in reraise
          raise value.with_traceback(tb)
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/templates/notebook.html&quot;, line 1, in top-level template code
          {% extends &quot;page.html&quot; %}
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/templates/page.html&quot;, line 154, in top-level template code
          {% block header %}
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/templates/notebook.html&quot;, line 115, in block &quot;header&quot;
          {% for exporter in get_frontend_exporters() %}
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notebook/notebook/handlers.py&quot;, line 40, in get_frontend_exporters
          for name in get_export_names():
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nbconvert/exporters/base.py&quot;, line 141, in get_export_names
          e = get_exporter(exporter_name)(config=config)
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nbconvert/exporters/base.py&quot;, line 102, in get_exporter
          if getattr(exporter(config=config), 'enabled', True):
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py&quot;, line 325, in __init__
          super().__init__(config=config, **kw)
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nbconvert/exporters/exporter.py&quot;, line 114, in __init__
          self._init_preprocessors()
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py&quot;, line 491, in _init_preprocessors
          conf = self._get_conf()
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nbconvert/exporters/templateexporter.py&quot;, line 509, in _get_conf
          if conf_path.exists():
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/pathlib.py&quot;, line 1407, in exists
          self.stat()
        File &quot;/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/pathlib.py&quot;, line 1221, in stat
          return self._accessor.stat(self)
      PermissionError: [Errno 13] Permission denied: '/usr/local/share/jupyter/nbconvert/templates/conf.json'
  [E 12:31:46.091 NotebookApp] {
        &quot;Host&quot;: &quot;localhost:8888&quot;,
        &quot;Connection&quot;: &quot;keep-alive&quot;,
        &quot;Sec-Ch-Ua&quot;: &quot;\&quot;Google Chrome\&quot;;v=\&quot;87\&quot;, \&quot; Not;A Brand\&quot;;v=\&quot;99\&quot;, \&quot;Chromium\&quot;;v=\&quot;87\&quot;&quot;,
        &quot;Sec-Ch-Ua-Mobile&quot;: &quot;?0&quot;,
        &quot;Upgrade-Insecure-Requests&quot;: &quot;1&quot;,
        &quot;User-Agent&quot;: &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36&quot;,
        &quot;Accept&quot;: &quot;text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9&quot;,
        &quot;Sec-Fetch-Site&quot;: &quot;same-origin&quot;,
        &quot;Sec-Fetch-Mode&quot;: &quot;navigate&quot;,
        &quot;Sec-Fetch-Dest&quot;: &quot;document&quot;,
        &quot;Referer&quot;: &quot;http://localhost:8888/tree&quot;,
        &quot;Accept-Encoding&quot;: &quot;gzip, deflate, br&quot;,
        &quot;Accept-Language&quot;: &quot;en-US,en;q=0.9&quot;,
        &quot;Cookie&quot;: &quot;_xsrf=2|85632aaa|64c82af63fd0966e14c03d95ba64a8a9|1612261353; username-localhost-8888=\&quot;2|1:0|10:1612265499|23:username-localhost-8888|44:OTNlN2QxZGM3NTNiNDQwMDg5NmNkNjhlNmU4ODA4YTQ=|0d8e7a82c04f0bd92a53e19f819e7204c81853c25412c8bbb8f60e5e95ebccf2\&quot;&quot;
      }
  [E 12:31:46.091 NotebookApp] 500 GET /notebooks/Untitled1.ipynb?kernel_name=python3 (::1) 262.630000ms referer=http://localhost:8888/tree
  </code></pre>
  <p>Thank you very much in advance.</p>