<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 13 Jun2020, at 5:26 PM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class="">On Jun 13, 2020, at 2:49 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:<br class=""><br class="">“NOT work properly” means that if you double-click the SageMath app icon in /Applications, the server never seems to start, and so one cannot use, e.g., they Jupyter interface to the sage kernel.<br class=""><br class=""></blockquote><div class=""><br class=""></div>Howdy,<div class=""><br class=""></div><div class="">Is the Jupyter interface web based? Is the enclosed image from Safari the Jupyter interface?</div><div class=""><br class=""></div><div class=""><span id="cid:4D2AB793-1F76-46F8-8240-215DE19DA371@wowway.com"><Screen Shot 2020-06-13 at 4.23.52 PM.png></span><br class=""><br class=""></div></div></div></blockquote><br class=""></div><div>Yes, that’s Jupyter. Now:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>1. Start the SageMath app. </div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">         </span>After a bit of a wait, you should see that same Juypter interface open in Safari.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>2. Click the New button on that Jypyter page. </div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">              </span>You should see “SageMath” (or perhaps "SageMath-9.1”) in the drop-down list.</div><div><span class="Apple-tab-span" style="white-space:pre">              </span>Select that Sage noteook entry.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>3. In the “In [ ]:” cell you see, type 1+1 and press Shift-Enter.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">            </span>You should see “In [ ]” change to “In [1]” and then a new “Out[1]: 2”.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">               </span>If so, then SageMath is working correctly.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">               </span>—> Is this with SageMath-9.1.app or with the renamed version, SageMath.app ??</div><div><br class=""></div><div>On my system, if I rename SageMath-9.1.app to SageMath.app, then when I open the app, I eventually get a pop-up error message:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>Juypyter Server failed to start….</div><div><br class=""></div><div>And when, as the rest of that messages suggest, I examine the log, I see:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>/Applications/SageMath.app/Contents/Resources/sage/src/bin/sage: line 617: /Applications/SageMath-9.1.app/Contents/Resources/sage/local/bin/python3: No such file or directory    <span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>/Applications/SageMath.app/Contents/Resources/sage/src/bin/sage: line 617: exec: /Applications/SageMath-9.1.app/Contents/Resources/sage/local/bin/python3: cannot execute: No such file or directory</div><div class=""><br class=""></div>theThus the binary /Applications/SageMath.app/Contents/Resources/sage/src/bin/sage has HARDCODED the path to the requisite python3 as being in the SageMath-9.1.app tree, so that it cannot find it when the app has been renamed to SageMath.app.<div class=""><br class=""></div><div class="">I’ve posted a query about this to the <a href="http://sagemath.org" class="">sagemath.org</a> forum.<br class=""><div class=""><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>
<br class=""></div></div></body></html>