Ask Your Question
0

Sage can't find python

asked 2012-10-10 20:44:18 +0100

jaebond gravatar image

updated 2012-10-10 20:46:34 +0100

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?

edit retag flag offensive close merge delete

Comments

Is `sage/local/bin/python` executable?

John Palmieri gravatar imageJohn Palmieri ( 2012-10-13 16:07:52 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-12 07:24:52 +0100

Jason Grout gravatar image

updated 2012-10-12 07:25:00 +0100

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?)

edit flag offensive delete link more

Comments

No, 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)

jaebond gravatar imagejaebond ( 2012-10-12 11:46:36 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-10-10 20:44:18 +0100

Seen: 629 times

Last updated: Oct 12 '12