<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>In ubuntu dev I got this problem with sagemath and jupyter</p>
<h1 class="gh-header-title mb-2 lh-condensed f1 mr-0 flex-auto
wb-break-word" style="box-sizing: border-box; font-size: 26px
!important; margin: 0px 150px 0px 0px; font-weight: 400; flex: 1 1
auto !important; line-height: 1.125; word-break: break-word
!important; overflow-wrap: break-word; color: rgb(36, 41, 47);
font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Helvetica, Arial, sans-serif, "Apple Color
Emoji", "Segoe UI Emoji"; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-thickness:
initial; text-decoration-style: initial; text-decoration-color:
initial;"><span class="js-issue-title markdown-title"
style="box-sizing: border-box;">"Jupyter Notebook does not load
using ubuntu 18.04 LTS in windows 10"</span></h1>
<p>but not only in ubuntu LTS in 22.04 too. Both on ubuntu natif and
windows wsl.</p>
<p>I did this to correct it <br>
</p>
<pre style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 11.9px; margin-top: 0px; margin-bottom: 0px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: var(--color-canvas-subtle); border-radius: 6px; word-break: normal; color: rgb(36, 41, 47); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="pl-c" style="box-sizing: border-box; color: var(--color-prettylights-syntax-comment);"><span class="pl-c" style="box-sizing: border-box; color: var(--color-prettylights-syntax-comment);">#</span> Generate jupyter_config.py if it does not exists</span>
jupyter jupyter notebook --generate-config
<span class="pl-c" style="box-sizing: border-box; color: var(--color-prettylights-syntax-comment);"><span class="pl-c" style="box-sizing: border-box; color: var(--color-prettylights-syntax-comment);">#</span> Use nano or whatever editor. I use vs code</span>
code <span class="pl-smi" style="box-sizing: border-box; color: var(--color-prettylights-syntax-storage-modifier-import);">${USER}</span>/.jupyter/jupyter_notebook_config.py
<span class="pl-c" style="box-sizing: border-box; color: var(--color-prettylights-syntax-comment);"><span class="pl-c" style="box-sizing: border-box; color: var(--color-prettylights-syntax-comment);">#</span> Search and uncomment `c.NotebookApp.use_redirect_file=True` and set it to False</span>
c.NotebookApp.use_redirect_file=False</pre>
<p>But is there not a better way for not having this ?</p>
<p>I spend a lot of times to find how to correct, I even reinstall
ubuntu 22.04 and got the same problem ?</p>
<p>I am not good enaugh to find a good issue</p>
<p>Best</p>
</body>
</html>