<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Install Sage Math from source on WSL	</title>
	<atom:link href="https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/</link>
	<description>My little corner of the web</description>
	<lastBuildDate>Fri, 08 Oct 2021 16:18:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>
		By: Sandy		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9607</link>

		<dc:creator><![CDATA[Sandy]]></dc:creator>
		<pubDate>Fri, 08 Oct 2021 16:18:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9607</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9525&quot;&gt;Jhone&lt;/a&gt;.

Thanks for your feedback!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9525">Jhone</a>.</p>
<p>Thanks for your feedback!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jhone		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9525</link>

		<dc:creator><![CDATA[Jhone]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 03:49:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9525</guid>

					<description><![CDATA[thank you for this interesting article, say that the compilation of sagemath takes a long time, it took me 30 hours on my core i5 to finish it. then to set the sage command it took me a bit of time because the instruction given in the article did not work for me, I finally succeeded by editing the file from the folder: C: \ Users \ HP \ AppData \ Local \ Packages \ CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc \ LocalState \ rootfs \ home \ jhoneA84 \ sage-9.2.
after that sela I was confronted with the problem of permission but thanks to be able to regulate it thanks to these commands:

chmod 0755 /home/jhoneA84
chmod 0644 /home/jhoneA84/.bashrc
chmod 0644 /home/jhoneA84/.profile

source: https://stackoverflow.com/questions/49202275/permission-denied-when-starting-bashrc-on-ubuntu-on-windows]]></description>
			<content:encoded><![CDATA[<p>thank you for this interesting article, say that the compilation of sagemath takes a long time, it took me 30 hours on my core i5 to finish it. then to set the sage command it took me a bit of time because the instruction given in the article did not work for me, I finally succeeded by editing the file from the folder: C: \ Users \ HP \ AppData \ Local \ Packages \ CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc \ LocalState \ rootfs \ home \ jhoneA84 \ sage-9.2.<br />
after that sela I was confronted with the problem of permission but thanks to be able to regulate it thanks to these commands:</p>
<p>chmod 0755 /home/jhoneA84<br />
chmod 0644 /home/jhoneA84/.bashrc<br />
chmod 0644 /home/jhoneA84/.profile</p>
<p>source: <a href="https://stackoverflow.com/questions/49202275/permission-denied-when-starting-bashrc-on-ubuntu-on-windows" rel="nofollow ugc">https://stackoverflow.com/questions/49202275/permission-denied-when-starting-bashrc-on-ubuntu-on-windows</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jean-pierre Ortolland		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9301</link>

		<dc:creator><![CDATA[jean-pierre Ortolland]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 18:31:04 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9301</guid>

					<description><![CDATA[all is ok Now !!! ;)

in the file /home/ortollj/.sage//jupyter-4.1/jupyter_notebook_config.py, i added the line:
#------------------------------------------------------------------------------
# NotebookApp(JupyterApp) configuration
#------------------------------------------------------------------------------
c.NotebookApp.use_redirect_file = False

and in the file ~/.bashrc I added the line, after installing Chrome Browser in W10:

export BROWSER=&#039;/mnt/c/Program Files/Google/Chrome/Application/chrome.exe&#039;

(not Program Files (x86)/ for me,

 my chrome.exe is located in Program Files/Google/Chrome/Application/)

and now when launch my windows shortcut Jupyter_lab is lauching ;-).
Thank you very much Sandy Scott.]]></description>
			<content:encoded><![CDATA[<p>all is ok Now !!! 😉</p>
<p>in the file /home/ortollj/.sage//jupyter-4.1/jupyter_notebook_config.py, i added the line:<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
# NotebookApp(JupyterApp) configuration<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
c.NotebookApp.use_redirect_file = False</p>
<p>and in the file ~/.bashrc I added the line, after installing Chrome Browser in W10:</p>
<p>export BROWSER=&#8217;/mnt/c/Program Files/Google/Chrome/Application/chrome.exe&#8217;</p>
<p>(not Program Files (x86)/ for me,</p>
<p> my chrome.exe is located in Program Files/Google/Chrome/Application/)</p>
<p>and now when launch my windows shortcut Jupyter_lab is lauching ;-).<br />
Thank you very much Sandy Scott.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jean-pierre Ortolland		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9300</link>

		<dc:creator><![CDATA[jean-pierre Ortolland]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 17:53:57 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9300</guid>

					<description><![CDATA[below the  content of /home/ortollj/.sage//jupyter-4.1/jupyter_notebook_config.py:

# Configuration file for jupyter-notebook.

#------------------------------------------------------------------------------
# Application(SingletonConfigurable) configuration
#------------------------------------------------------------------------------

## This is an application.

## The date format used by logging formatters for %(asctime)s
#c.Application.log_datefmt = &#039;%Y-%m-%d %H:%M:%S&#039;

## The Logging format template
#c.Application.log_format = &#039;[%(name)s]%(highlevel)s %(message)s&#039;

## Set the log level by value or name.
#c.Application.log_level = 30

#------------------------------------------------------------------------------
# JupyterApp(Application) configuration
#------------------------------------------------------------------------------

## Base class for Jupyter applications

## Answer yes to any prompts.
#c.JupyterApp.answer_yes = False

## Full path of a config file.
#c.JupyterApp.config_file = &#039;&#039;

## Specify a config file to load.
#c.JupyterApp.config_file_name = &#039;&#039;

## Generate default config file.
#c.JupyterApp.generate_config = False

#------------------------------------------------------------------------------
# NotebookApp(JupyterApp) configuration
#------------------------------------------------------------------------------
c.NotebookApp.use_redirect_file = False

## Set the Access-Control-Allow-Credentials: true header]]></description>
			<content:encoded><![CDATA[<p>below the  content of /home/ortollj/.sage//jupyter-4.1/jupyter_notebook_config.py:</p>
<p># Configuration file for jupyter-notebook.</p>
<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
# Application(SingletonConfigurable) configuration<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>## This is an application.</p>
<p>## The date format used by logging formatters for %(asctime)s<br />
#c.Application.log_datefmt = &#8216;%Y-%m-%d %H:%M:%S&#8217;</p>
<p>## The Logging format template<br />
#c.Application.log_format = &#8216;[%(name)s]%(highlevel)s %(message)s&#8217;</p>
<p>## Set the log level by value or name.<br />
#c.Application.log_level = 30</p>
<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
# JupyterApp(Application) configuration<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>## Base class for Jupyter applications</p>
<p>## Answer yes to any prompts.<br />
#c.JupyterApp.answer_yes = False</p>
<p>## Full path of a config file.<br />
#c.JupyterApp.config_file = &#8221;</p>
<p>## Specify a config file to load.<br />
#c.JupyterApp.config_file_name = &#8221;</p>
<p>## Generate default config file.<br />
#c.JupyterApp.generate_config = False</p>
<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
# NotebookApp(JupyterApp) configuration<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
c.NotebookApp.use_redirect_file = False</p>
<p>## Set the Access-Control-Allow-Credentials: true header</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jean-pierre Ortolland		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9299</link>

		<dc:creator><![CDATA[jean-pierre Ortolland]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 12:52:31 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9299</guid>

					<description><![CDATA[I succeed creating file jupyterlab --generate-config :

ortollj@DESKTOP-K30FLRP:~$ sage --notebook jupyterlab --generate-config
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.2, Release Date: 2020-10-24                     │
│ Using Python 3.8.5. Type &quot;help()&quot; for help.                        │
└────────────────────────────────────────────────────────────────────┘
Please wait while the Jupyterlab server starts...
Writing default config to: /home/ortollj/.sage//jupyter-4.1/jupyter_notebook_config.py
ortollj@DESKTOP-K30FLRP:~$

but what does he mean by : then change the following line: c.NotebookApp.use_redirect_file = False

remove the # ?]]></description>
			<content:encoded><![CDATA[<p>I succeed creating file jupyterlab &#8211;generate-config :</p>
<p>ortollj@DESKTOP-K30FLRP:~$ sage &#8211;notebook jupyterlab &#8211;generate-config<br />
┌────────────────────────────────────────────────────────────────────┐<br />
│ SageMath version 9.2, Release Date: 2020-10-24                     │<br />
│ Using Python 3.8.5. Type &#8220;help()&#8221; for help.                        │<br />
└────────────────────────────────────────────────────────────────────┘<br />
Please wait while the Jupyterlab server starts&#8230;<br />
Writing default config to: /home/ortollj/.sage//jupyter-4.1/jupyter_notebook_config.py<br />
ortollj@DESKTOP-K30FLRP:~$</p>
<p>but what does he mean by : then change the following line: c.NotebookApp.use_redirect_file = False</p>
<p>remove the # ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jean-pierre Ortolland		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9298</link>

		<dc:creator><![CDATA[jean-pierre Ortolland]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 12:50:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9298</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9297&quot;&gt;jean-pierre Ortolland&lt;/a&gt;.

here below  is the content of the file :jupyter_notebook_config.py

# Configuration file for jupyter-notebook.

#------------------------------------------------------------------------------
# Application(SingletonConfigurable) configuration
#------------------------------------------------------------------------------

## This is an application.

## The date format used by logging formatters for %(asctime)s
#c.Application.log_datefmt = &#039;%Y-%m-%d %H:%M:%S&#039;

## The Logging format template
#c.Application.log_format = &#039;[%(name)s]%(highlevel)s %(message)s&#039;

## Set the log level by value or name.
#c.Application.log_level = 30

#------------------------------------------------------------------------------
# JupyterApp(Application) configuration
#------------------------------------------------------------------------------

## Base class for Jupyter applications

## Answer yes to any prompts.
#c.JupyterApp.answer_yes = False

## Full path of a config file.
#c.JupyterApp.config_file = &#039;&#039;

## Specify a config file to load.
#c.JupyterApp.config_file_name = &#039;&#039;

## Generate default config file.
#c.JupyterApp.generate_config = False]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9297">jean-pierre Ortolland</a>.</p>
<p>here below  is the content of the file :jupyter_notebook_config.py</p>
<p># Configuration file for jupyter-notebook.</p>
<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
# Application(SingletonConfigurable) configuration<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>## This is an application.</p>
<p>## The date format used by logging formatters for %(asctime)s<br />
#c.Application.log_datefmt = &#8216;%Y-%m-%d %H:%M:%S&#8217;</p>
<p>## The Logging format template<br />
#c.Application.log_format = &#8216;[%(name)s]%(highlevel)s %(message)s&#8217;</p>
<p>## Set the log level by value or name.<br />
#c.Application.log_level = 30</p>
<p>#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
# JupyterApp(Application) configuration<br />
#&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>## Base class for Jupyter applications</p>
<p>## Answer yes to any prompts.<br />
#c.JupyterApp.answer_yes = False</p>
<p>## Full path of a config file.<br />
#c.JupyterApp.config_file = &#8221;</p>
<p>## Specify a config file to load.<br />
#c.JupyterApp.config_file_name = &#8221;</p>
<p>## Generate default config file.<br />
#c.JupyterApp.generate_config = False</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jean-pierre Ortolland		</title>
		<link>https://www.sandyscott.net/2020/12/install-sage-math-from-source-on-wsl/#comment-9297</link>

		<dc:creator><![CDATA[jean-pierre Ortolland]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 12:24:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=747#comment-9297</guid>

					<description><![CDATA[Hi
Thank you very much for writing this process for installing SageMath in WSL. , your work is very impressive !

sorry but I still meet one last pb, each time I try to ./sage_nb.sh
I have to make a copy paste of the http with the tocken in a browser to launch JupyterLab

Start : This command cannot be run due to the error: The system cannot find
the file specified.
At line:1 char:1
+ Start &quot;file:///home/ortollj/.local/share/jupyter/runtime/nbserver-141 ...

and in fact I do not actually see a file that begins with
nbserver-141 but rather nbserver-1441-open.html
 
ortollj@DESKTOP-K30FLRP:~$ cd /home/ortollj/.local/share/jupyter/runtime
ortollj@DESKTOP-K30FLRP:~/.local/share/jupyter/runtime$ ls
nbserver-1209-open.html  nbserver-1441-open.html  nbserver-1672-open.html  nbserver-1902-open.html  notebook_cookie_secret
nbserver-1209.json       nbserver-1441.json       nbserver-1672.json       nbserver-1902.json
ortollj@DESKTOP-K30FLRP:~/.local/share/jupyter/runtime$
 
 see my last comment (click on see more comment) on  
 https://ask.sagemath.org/question/53294/installing-optional-packages-infinite-loop/
 
 someone had the same pb as mine on
 https://stackoverflow.com/questions/62814002/start-this-command-cannot-be-run-due-to-the-error-the-system-cannot-find-the
 
 ortollj@DESKTOP-K30FLRP:~$ jupyter notebook --generate-config

Command &#039;jupyter&#039; not found, but can be installed with:

sudo apt install jupyter-core

ortollj@DESKTOP-K30FLRP:~$ sage jupyter notebook --generate-config
/home/ortollj/sage-9.2/local/bin/python3: can&#039;t open file &#039;jupyter&#039;: [Errno 2] No such file or directory
ortollj@DESKTOP-K30FLRP:~$
 
 do you have any idea what I need to do ?]]></description>
			<content:encoded><![CDATA[<p>Hi<br />
Thank you very much for writing this process for installing SageMath in WSL. , your work is very impressive !</p>
<p>sorry but I still meet one last pb, each time I try to ./sage_nb.sh<br />
I have to make a copy paste of the http with the tocken in a browser to launch JupyterLab</p>
<p>Start : This command cannot be run due to the error: The system cannot find<br />
the file specified.<br />
At line:1 char:1<br />
+ Start &#8220;file:///home/ortollj/.local/share/jupyter/runtime/nbserver-141 &#8230;</p>
<p>and in fact I do not actually see a file that begins with<br />
nbserver-141 but rather nbserver-1441-open.html</p>
<p>ortollj@DESKTOP-K30FLRP:~$ cd /home/ortollj/.local/share/jupyter/runtime<br />
ortollj@DESKTOP-K30FLRP:~/.local/share/jupyter/runtime$ ls<br />
nbserver-1209-open.html  nbserver-1441-open.html  nbserver-1672-open.html  nbserver-1902-open.html  notebook_cookie_secret<br />
nbserver-1209.json       nbserver-1441.json       nbserver-1672.json       nbserver-1902.json<br />
ortollj@DESKTOP-K30FLRP:~/.local/share/jupyter/runtime$</p>
<p> see my last comment (click on see more comment) on<br />
 <a href="https://ask.sagemath.org/question/53294/installing-optional-packages-infinite-loop/" rel="nofollow ugc">https://ask.sagemath.org/question/53294/installing-optional-packages-infinite-loop/</a></p>
<p> someone had the same pb as mine on<br />
 <a href="https://stackoverflow.com/questions/62814002/start-this-command-cannot-be-run-due-to-the-error-the-system-cannot-find-the" rel="nofollow ugc">https://stackoverflow.com/questions/62814002/start-this-command-cannot-be-run-due-to-the-error-the-system-cannot-find-the</a></p>
<p> ortollj@DESKTOP-K30FLRP:~$ jupyter notebook &#8211;generate-config</p>
<p>Command &#8216;jupyter&#8217; not found, but can be installed with:</p>
<p>sudo apt install jupyter-core</p>
<p>ortollj@DESKTOP-K30FLRP:~$ sage jupyter notebook &#8211;generate-config<br />
/home/ortollj/sage-9.2/local/bin/python3: can&#8217;t open file &#8216;jupyter&#8217;: [Errno 2] No such file or directory<br />
ortollj@DESKTOP-K30FLRP:~$</p>
<p> do you have any idea what I need to do ?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
