ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 15 Nov 2020 23:43:04 +0100Sage 9.2 on macOS 10.15.7 not working with conda method, eitherhttps://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/Along with others, I've reported that Sage 9.2 will not work on macOS because of a missing openssl. I tried the method using a conda environment described in https://groups.google.com/g/sage-devel/c/KHC_tQqKanM/m/-imTkH2AAwAJ and at https://doc.sagemath.org/html/en/installation/conda.html but it doesn't work:
- since I already have the full conda installed, I should not, and did not, install miniconda
- instead, I just created and activated a sage environment using mamba with conda, as described.
That seemed to be OK, and using "conda activate sage" did open a sage conda environment. BUT:
1. How do I start sage then? I tried just issuing the command "sage" on the Terminal command-line, in the sage conda environment. That gives a "Command not found" error.
2. How do I go about using jupyter with sage using the conda method?Thu, 12 Nov 2020 02:15:34 +0100https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/Comment by slelievre for <p>Along with others, I've reported that Sage 9.2 will not work on macOS because of a missing openssl. I tried the method using a conda environment described in <a href="https://groups.google.com/g/sage-devel/c/KHC_tQqKanM/m/-imTkH2AAwAJ">https://groups.google.com/g/sage-deve...</a> and at <a href="https://doc.sagemath.org/html/en/installation/conda.html">https://doc.sagemath.org/html/en/inst...</a> but it doesn't work:</p>
<ul>
<li>since I already have the full conda installed, I should not, and did not, install miniconda</li>
<li>instead, I just created and activated a sage environment using mamba with conda, as described.</li>
</ul>
<p>That seemed to be OK, and using "conda activate sage" did open a sage conda environment. BUT:</p>
<ol>
<li><p>How do I start sage then? I tried just issuing the command "sage" on the Terminal command-line, in the sage conda environment. That gives a "Command not found" error.</p>
<ol>
<li>How do I go about using jupyter with sage using the conda method?</li>
</ol></li>
</ol>
https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54247#post-id-54247Looks like your problem is solved then? Congratulations! Happy saging.Sun, 15 Nov 2020 23:43:04 +0100https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54247#post-id-54247Comment by slelievre for <p>Along with others, I've reported that Sage 9.2 will not work on macOS because of a missing openssl. I tried the method using a conda environment described in <a href="https://groups.google.com/g/sage-devel/c/KHC_tQqKanM/m/-imTkH2AAwAJ">https://groups.google.com/g/sage-deve...</a> and at <a href="https://doc.sagemath.org/html/en/installation/conda.html">https://doc.sagemath.org/html/en/inst...</a> but it doesn't work:</p>
<ul>
<li>since I already have the full conda installed, I should not, and did not, install miniconda</li>
<li>instead, I just created and activated a sage environment using mamba with conda, as described.</li>
</ul>
<p>That seemed to be OK, and using "conda activate sage" did open a sage conda environment. BUT:</p>
<ol>
<li><p>How do I start sage then? I tried just issuing the command "sage" on the Terminal command-line, in the sage conda environment. That gives a "Command not found" error.</p>
<ol>
<li>How do I go about using jupyter with sage using the conda method?</li>
</ol></li>
</ol>
https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54233#post-id-54233What command did you run to create the sage conda environment?Sat, 14 Nov 2020 14:20:04 +0100https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54233#post-id-54233Comment by murraye for <p>Along with others, I've reported that Sage 9.2 will not work on macOS because of a missing openssl. I tried the method using a conda environment described in <a href="https://groups.google.com/g/sage-devel/c/KHC_tQqKanM/m/-imTkH2AAwAJ">https://groups.google.com/g/sage-deve...</a> and at <a href="https://doc.sagemath.org/html/en/installation/conda.html">https://doc.sagemath.org/html/en/inst...</a> but it doesn't work:</p>
<ul>
<li>since I already have the full conda installed, I should not, and did not, install miniconda</li>
<li>instead, I just created and activated a sage environment using mamba with conda, as described.</li>
</ul>
<p>That seemed to be OK, and using "conda activate sage" did open a sage conda environment. BUT:</p>
<ol>
<li><p>How do I start sage then? I tried just issuing the command "sage" on the Terminal command-line, in the sage conda environment. That gives a "Command not found" error.</p>
<ol>
<li>How do I go about using jupyter with sage using the conda method?</li>
</ol></li>
</ol>
https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54246#post-id-54246The complete set of commands I used:
<code>
conda config --add channels conda-forge
conda install mamba -c conda-forge
mamba create -n sage sage -c conda-forge
conda init zsh
[restart Terminal]
conda activate sage
</code>
I now see command line prompt (in Terminal with zsh): (sage) [~] %
AHA! If I execute command "jupyter notebook" it opens the expected jupyter front end in Safari and allows me to use the Sage 9.2 kernel for evaluation.
And now executing in Terminal command "sage" does start sage at the command-line.
(Not sure what I did wrong last time: when then I issued command "sage", that command was not found.Sun, 15 Nov 2020 17:53:00 +0100https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54246#post-id-54246Answer by isuruf for <p>Along with others, I've reported that Sage 9.2 will not work on macOS because of a missing openssl. I tried the method using a conda environment described in <a href="https://groups.google.com/g/sage-devel/c/KHC_tQqKanM/m/-imTkH2AAwAJ">https://groups.google.com/g/sage-deve...</a> and at <a href="https://doc.sagemath.org/html/en/installation/conda.html">https://doc.sagemath.org/html/en/inst...</a> but it doesn't work:</p>
<ul>
<li>since I already have the full conda installed, I should not, and did not, install miniconda</li>
<li>instead, I just created and activated a sage environment using mamba with conda, as described.</li>
</ul>
<p>That seemed to be OK, and using "conda activate sage" did open a sage conda environment. BUT:</p>
<ol>
<li><p>How do I start sage then? I tried just issuing the command "sage" on the Terminal command-line, in the sage conda environment. That gives a "Command not found" error.</p>
<ol>
<li>How do I go about using jupyter with sage using the conda method?</li>
</ol></li>
</ol>
https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?answer=54229#post-id-54229You need to run `sage` in the same terminal that you ran `conda activate sage`
conda activate sage
sageThu, 12 Nov 2020 22:30:44 +0100https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?answer=54229#post-id-54229Comment by murraye for <p>You need to run <code>sage</code> in the same terminal that you ran <code>conda activate sage</code></p>
<pre><code>conda activate sage
sage
</code></pre>
https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54231#post-id-54231As I said, after issuing command "conda activate sage", I did -- in that same Terminal session -- issue command "sage", which gave the "command not found: sage" error!Fri, 13 Nov 2020 02:14:26 +0100https://ask.sagemath.org/question/54226/sage-92-on-macos-10157-not-working-with-conda-method-either/?comment=54231#post-id-54231