First time here? Check out the FAQ!

Ask Your Question
0

Sage can't find python

asked 12 years ago

jaebond gravatar image

updated 12 years ago

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?

Preview: (hide)

Comments

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

John Palmieri gravatar imageJohn Palmieri ( 12 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 12 years ago

Jason Grout gravatar image

updated 12 years ago

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

Preview: (hide)
link

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 ( 12 years ago )

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: 12 years ago

Seen: 659 times

Last updated: Oct 12 '12