On Friday, June 15, 2018 at 9:49:57 AM UTC+1, Dima Pasechnik wrote: > > > > On Friday, June 15, 2018 at 9:31:50 AM UTC+1, kcburns wrote: > > > I have installed sage 8.2 on 64-bit Debian 9 (Stretch) using the tarball. > > I installed to /opt, so my path to sage is /opt/SageMath/sage. > > I can successfully run sage in the Jupyter Notebook. > > I cannot run any jupyter commands from my terminal app, so have > investigated two potential causes: Path and Permissions. > > I think, but could stand to be corrected, that my path to jupyter is > /opt/SageMath/local/bin/jupyter; and I have confirmed that a file named > jupyter is in that location; and have confirmed that others have Read and > write permissions, and that Allow executing as a program is selected. > > Never the less, every attempt to run several different jupyter commands > results in bash: jupyter: command not found. This includes running as root > from /opt/SageMath/local/bin: > > root@Debian9SM82:/opt/SageMath/local/bin# jupyter ? > > bash: jupyter: command not found > > How can I run jupyter commands? > > > you could try starting Sagemath shell (i.e. running /opt/SageMath/sage > -sh) > and launching jupyter there (I don't know what parameters you need to > pass it, but at least it will start) >
E.g. I am able to launch jupyter notebook this way: $ sage -sh Starting subshell with Sage environment variables set. Don't forget to exit when you are done. Beware: * Do not do anything with other copies of Sage on your system. * Do not use this for installing Sage packages using "sage -i" or for running "make" at Sage's root directory. These should be done outside the Sage shell. Bypassing shell configuration files... Note: SAGE_ROOT=/home/dima/Sage/sage-dev (sage-sh) dima@hilbert:~$ jupyter notebook [I 09:57:23.548 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js [I 09:57:23.710 NotebookApp] The port 8888 is already in use, trying another port. [I 09:57:23.718 NotebookApp] Serving notebooks from local directory: /home/dima ... > > > > > > Thanks, > > Ken > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
