tachyon not found (SageMath 9.5, running on an Intel-based Mac)

37 views
Skip to first unread message

harald....@gmail.com

unread,
May 7, 2022, 3:52:54 PM5/7/22
to sage-support
Hi,

I am running SageMath 9.5 (compiled from source on an Intel-based Mac). I haven't been having trouble, but today I was toying with 3D plotting, and, when I tried to do an animation, I got an error message telling me that tachyon could not be found. (I have not used tachyon before. Non-animated 3D plots work fine).

The following example from the documentation
-----
S = sphere(opacity=0.8, aspect_ratio=[1,1,1])
L = line3d([(0,0,0),(2,0,0)], thickness=10, color='red')
M = S + S.translate((2,0,0)) + L
M.show(viewer='tachyon')
-----
gives an error message:
....
FileNotFoundError: [Errno 2] No such file or directory: 'tachyon'


What to do?

Best
Harald

Dima Pasechnik

unread,
May 7, 2022, 5:21:24 PM5/7/22
to sage-support
Please post the top level config.log.

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/43dbedff-3d6f-41d4-a9fd-d5eeaf753ecbn%40googlegroups.com.

harald....@gmail.com

unread,
May 8, 2022, 10:56:00 PM5/8/22
to sage-support
Here it is.
config.log

Dima Pasechnik

unread,
May 9, 2022, 7:11:41 AM5/9/22
to sage-support
OK, so tachyon comes from Conda... Can you check that tachyon is in
Sage's PATH, i.e.
run the following two commands:

./sage -sh
which tachyon
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/bda9aaf1-c425-4c90-9420-047925244be6n%40googlegroups.com.

harald....@gmail.com

unread,
May 9, 2022, 9:02:31 AM5/9/22
to sage-support
Right, "which tachyon" gives an empty output. What to do?

Dima Pasechnik

unread,
May 9, 2022, 9:06:59 AM5/9/22
to sage-support
and if you run

which tachyon

outside of "sage -sh" subshell, is it seen?


If not, it might be about activated vs non-activated Conda. 
If you built Sage under Conda, you'd need to run it under Conda, too.



harald....@gmail.com

unread,
May 9, 2022, 9:10:44 AM5/9/22
to sage-support
No, it is not seen. I do have conda. I don't *think* I built this version of Sage under it, but I am not positive.

Dima Pasechnik

unread,
May 9, 2022, 9:38:48 AM5/9/22
to sage-support
You have built Sage with a lot of Conda packages, as can be seen from your config.log.
Not sure you had Conda activated, but you had its binary directories in PATH,
in particular tachyon was found there.

Now tachyon is no longer in PATH. One way to remedy this would be to activate Conda and then start Sage.



harald....@gmail.com

unread,
May 9, 2022, 10:49:39 AM5/9/22
to sage-support
... or add it to the PATH, I suppose. But how do I find it now?

Dima Pasechnik

unread,
May 9, 2022, 11:03:06 AM5/9/22
to sage-support


On Mon, 9 May 2022, 11:49 harald....@gmail.com, <harald....@gmail.com> wrote:
... or add it to the PATH, I suppose. But how do I find it now?

searching config.log for tachyon gives

/Users/harald/miniconda3/envs/sage-build/bin/tachyon
Indeed, searching for PATH there will tell you that 

Users/harald/miniconda3/envs/sage-build/bin
was in your PATH while you built Sage.

Isuru Fernando

unread,
May 9, 2022, 11:20:36 AM5/9/22
to sage-s...@googlegroups.com
conda activate sage-build  should do the trick.

Isuru

harald....@gmail.com

unread,
May 9, 2022, 10:41:42 PM5/9/22
to sage-support

conda activate sage-build  works nicely. Thanks!
Reply all
Reply to author
Forward
0 new messages