Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ubuntu on Windows cannot open notebook

Hi,

I'm using WIndows 10 and just installed through WSL and Ubuntu. I opened Ubuntu to access Sagemath notebook, via sage -n jupyter.

However, I get the following error:

Please wait while the Sage Jupyter Notebook server starts... [I 15:11:21.972 NotebookApp] Serving notebooks from local directory: /home/vickram [I 15:11:21.972 NotebookApp] The Jupyter Notebook is running at: [I 15:11:21.972 NotebookApp] localhost:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d [I 15:11:21.972 NotebookApp] or 127.0.0.1:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d [I 15:11:21.972 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 15:11:22.193 NotebookApp]

To access the notebook, open this file in a browser:
    home/vickram/.local/share/jupyter/runtime/nbserver-133-open.html
Or copy and paste one of these URLs:
    localhost:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d
 or 127.0.0.1:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d

Start : This command cannot be run due to the error: The system cannot find the file specified. At line:1 char:1 + Start "file:///home/vickram/.local/share/jupyter/runtime/nbserver-133 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

The nbserver-133 is not present at all in that directory.

I tried to copy one of the url in my browser, but there were no directories present even though I have sagemath notebook files on my laptop.

Can you please help?

I used a previous version of Sagemath with binary installer to create scripts with sagemath.

click to hide/show revision 2
None

Ubuntu on Windows cannot open notebook

Hi,

I'm using WIndows 10 and just installed through WSL and Ubuntu. I opened Ubuntu to access Sagemath notebook, via sage -n jupyter.

However, I get the following error:

Please wait while the Sage Jupyter Notebook server starts...
[I 15:11:21.972 NotebookApp] Serving notebooks from local directory: /home/vickram
[I 15:11:21.972 NotebookApp] The Jupyter Notebook is running at:
[I 15:11:21.972 NotebookApp] localhost:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d
[I 15:11:21.972 NotebookApp]  or 127.0.0.1:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d
[I 15:11:21.972 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:11:22.193 NotebookApp]

NotebookApp]

    To access the notebook, open this file in a browser:
     home/vickram/.local/share/jupyter/runtime/nbserver-133-open.html
 Or copy and paste one of these URLs:
     localhost:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d
  or 127.0.0.1:8888/?token=9e8a8c04e0c3550eea3a3dfd04ad638384986a542ebaeb0d

Start : This command cannot be run due to the error: The system cannot find the file specified. At line:1 char:1 + Start "file:///home/vickram/.local/share/jupyter/runtime/nbserver-133 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

The nbserver-133 nbserver-133 is not present at all in that directory.

I tried to copy one of the url in my browser, but there were no directories present even though I have sagemath notebook files on my laptop.

Can you please help?

I used a previous version of Sagemath with binary installer to create scripts with sagemath.