ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 13 Oct 2012 09:07:52 -0500Sage can't find pythonhttp://ask.sagemath.org/question/9412/sage-cant-find-python/I am attempting to run Sage on my Android phone via a Linux image on my sd card. I have Ubuntu 12.04 running on an ARM7 processor, so I downloaded the ARM version of Sage posted on the mirrors. However, after unpacking, Sage won't run, it just shows the into box and then exits. Upon running
sage -python
I get
/home/ubuntu/sage/spkg/bin/sage: line 489: /home/ubuntu/sage/local/bin/ptyhon: No such file or directory
If I run
$ sage -sh
(sage-sh)$ python
Nothing happens, it just comes back to the prompt. Alternatively, if I run
(sage-sh)$ sage-native-execute python
it gives me Python intro. Any thoughts?Wed, 10 Oct 2012 13:44:18 -0500http://ask.sagemath.org/question/9412/sage-cant-find-python/Comment by John Palmieri for <p>I am attempting to run Sage on my Android phone via a Linux image on my sd card. I have Ubuntu 12.04 running on an ARM7 processor, so I downloaded the ARM version of Sage posted on the mirrors. However, after unpacking, Sage won't run, it just shows the into box and then exits. Upon running</p>
<pre><code>sage -python
</code></pre>
<p>I get</p>
<pre><code>/home/ubuntu/sage/spkg/bin/sage: line 489: /home/ubuntu/sage/local/bin/ptyhon: No such file or directory
</code></pre>
<p>If I run</p>
<pre><code>$ sage -sh
(sage-sh)$ python
</code></pre>
<p>Nothing happens, it just comes back to the prompt. Alternatively, if I run</p>
<pre><code>(sage-sh)$ sage-native-execute python
</code></pre>
<p>it gives me Python intro. Any thoughts?</p>
http://ask.sagemath.org/question/9412/sage-cant-find-python/?comment=18888#post-id-18888Is `sage/local/bin/python` executable?Sat, 13 Oct 2012 09:07:52 -0500http://ask.sagemath.org/question/9412/sage-cant-find-python/?comment=18888#post-id-18888Answer by Jason Grout for <p>I am attempting to run Sage on my Android phone via a Linux image on my sd card. I have Ubuntu 12.04 running on an ARM7 processor, so I downloaded the ARM version of Sage posted on the mirrors. However, after unpacking, Sage won't run, it just shows the into box and then exits. Upon running</p>
<pre><code>sage -python
</code></pre>
<p>I get</p>
<pre><code>/home/ubuntu/sage/spkg/bin/sage: line 489: /home/ubuntu/sage/local/bin/ptyhon: No such file or directory
</code></pre>
<p>If I run</p>
<pre><code>$ sage -sh
(sage-sh)$ python
</code></pre>
<p>Nothing happens, it just comes back to the prompt. Alternatively, if I run</p>
<pre><code>(sage-sh)$ sage-native-execute python
</code></pre>
<p>it gives me Python intro. Any thoughts?</p>
http://ask.sagemath.org/question/9412/sage-cant-find-python/?answer=14137#post-id-14137`sage-native-execute python` is finding your system python. It seems that somehow Sage's python doesn't work? Can you execute `/home/ubuntu/sage/local/bin/python`? (notice your question had a typo in the path---is that a typo or was that the real error message?)Fri, 12 Oct 2012 00:24:52 -0500http://ask.sagemath.org/question/9412/sage-cant-find-python/?answer=14137#post-id-14137Comment by jaebond for <p><code>sage-native-execute python</code> is finding your system python. It seems that somehow Sage's python doesn't work? Can you execute <code>/home/ubuntu/sage/local/bin/python</code>? (notice your question had a typo in the path---is that a typo or was that the real error message?)</p>
http://ask.sagemath.org/question/9412/sage-cant-find-python/?comment=18895#post-id-18895No, I cannot execute `/home/ubuntu/sage/local/python`, it comes back with `No such file or directory` I have looked in the directory and there is a file there. If I understand it correctly, the file is a link to `python2` which is a link to `python2.7`. (the typo in the question was just a typo)Fri, 12 Oct 2012 04:46:36 -0500http://ask.sagemath.org/question/9412/sage-cant-find-python/?comment=18895#post-id-18895