sagemath / sage-shell-mode

Emacs front end for SageMath
GNU General Public License v3.0
102 stars 16 forks source link

Please set sage-root or sage executable correctly; #60

Open cakarmustactalone opened 3 years ago

cakarmustactalone commented 3 years ago

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 ?

alexandru-iosif commented 1 year ago

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

hulsw commented 1 year ago

So did I, still not working!

EmmanuelCharpentier commented 1 year ago

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

hulsw commented 1 year ago

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 commented 1 year ago

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!