sage-shell-mode icon indicating copy to clipboard operation
sage-shell-mode copied to clipboard

Please set sage-root or sage executable correctly;

Open cakarmustactalone opened this issue 4 years ago • 5 comments

Even I correctly(?) configured the root directory and executable directory as following:

(setq sage-shell:sage-root "/usr/share/sagemath")

Still getitng this error

sage-shell:read-command: Please set ‘sage-shell:sage-root’ or ‘sage-shell:sage-executable’ correctly.

Any help ?

cakarmustactalone avatar May 03 '21 18:05 cakarmustactalone

Hi. I get the same error. In my case, I used, on a Mac: (setq sage-shell:sage-root "/Applications/SageMath-9-7.app/Contents/Frameworks/Sage.framework/Versions/9.7")

alexandru-iosif avatar Jan 20 '23 17:01 alexandru-iosif

So did I, still not working!

hulsw avatar Nov 20 '23 14:11 hulsw

Can you access Console sagemath by typing sage at a terminal prompt ?

EmmanuelCharpentier avatar Nov 20 '23 15:11 EmmanuelCharpentier

Typing sage at a terminal prompt (Mac Sonoma) works fine, but I don't understand what you mean by "Console sagemath". Please explain! The error of correctly setting sage-root or sage sage-executable remains, anyhow!!

hulsw avatar Nov 21 '23 10:11 hulsw

Dear Emmanuel, Finally I succeeded in running sage within Emacs. As I'm more confortable with Aquamacs I tried to run sage in Aquamacs, but that doesn't work, every time I get the message to set correctly the sage-root or sage-executable!? Any help would be welcome!

hulsw avatar Nov 21 '23 15:11 hulsw