First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2 years ago

cav24 gravatar image

The following solved the problem for me:

(1) In the Ubuntu command line, run sage --jupyter notebook --generate-config

(2) Open the config file (you can access it from windows by navigating to "\wsl$\Ubuntu-20.04\home[user name]"

(3) Search for "c.NotebookApp.use_redirect_file", uncomment that line and adjust it as follows: "c.NotebookApp.use_redirect_file = False"

(I learned all of this here.)

click to hide/show revision 2
No.2 Revision

The following solved the problem for me:

(1) In the Ubuntu command line, run run

sage --jupyter notebook --generate-config

--generate-config

(2) Open the config file (you can access it from windows by navigating to "\wsl$\Ubuntu-20.04\home[user name]"

\\wsl$\Ubuntu-20.04\home\ [user name]

(3) Search for "c.NotebookApp.use_redirect_file", uncomment that line and adjust it as follows: "c.NotebookApp.use_redirect_file = False"follows:

c.NotebookApp.use_redirect_file = False

(I learned all of this (See here.) for the original source of this solution.)

click to hide/show revision 3
No.3 Revision

The following solved the problem for me:

(1) In the Ubuntu command line, run

sage --jupyter notebook --generate-config

(2) Open the config file (you can access it from windows by navigating to (may need adjustment. The previous command returns the path that you're looking for.)

\\wsl$\Ubuntu-20.04\home\ [user name]

(3) Search for "c.NotebookApp.use_redirect_file", uncomment that line and adjust it as follows:

c.NotebookApp.use_redirect_file = False

(See here for the original source of this solution.)

click to hide/show revision 4
No.4 Revision

The following solved the problem for me:

(1) In the Ubuntu command line, run

sage --jupyter notebook --generate-config

(2) Open the config file (you file. You can access it from within windows by navigating to (may need adjustment. The previous command returns the appropriate path using \wsl$\ to access the Ubuntu file system. In my case the path that you're looking for.)was

\\wsl$\Ubuntu-20.04\home\ [user name]

(3) Search for "c.NotebookApp.use_redirect_file", uncomment that line and adjust it as follows:

c.NotebookApp.use_redirect_file = False

(See here for the original source of this solution.)

click to hide/show revision 5
No.5 Revision

The following solved the problem for me:

(1) In the Ubuntu command line, run

sage --jupyter notebook --generate-config

(2) Open the config file. You can access it from within windows by navigating to the appropriate path using \wsl$\ \\wsl$\ to access the Ubuntu file system. In my case the path was

\\wsl$\Ubuntu-20.04\home\ [user name]

(3) Search for "c.NotebookApp.use_redirect_file", uncomment that line and adjust it as follows:

c.NotebookApp.use_redirect_file = False

(See here for the original source of this solution.)