Problem with sage-mode and conda

8 views
Skip to first unread message

Domingo Gómez

unread,
Apr 11, 2020, 9:53:12 PM4/11/20
to sage-s...@googlegroups.com
Dear all,
First of all, thank you for the help that you provide for sage users.
My problem is the following:
I installed sage through conda, making a new environment called sage.
If I write in the terminal:
conda activate sage
emacs
I can use sage inside sage-mode in emacs without any problem.
However, I try to use emacs daemon so I run it when my desktop start:

however, now it appears the following messages:

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


But the thing is this is setup in my init.el:

(setenv "WORKON_HOME" "~/anaconda3/envs")
(setq sage-shell:sage-root "~/anaconda3/envs/sage")
(setq sage-shell:sage-executable "~/anaconda3/envs/sage/bin/sage")
(pyvenv-mode 1)

Do you have any advice on this?
Best regards,
Domingo.
Reply all
Reply to author
Forward
0 new messages