Re: [sage-support] Using Cadabra2

2021-03-13 Thread Henri Girard
Yes sorry you are right Henri Le 13/03/2021 à 13:35, Kasper Peeters a écrit : >    %display latex >   from cadabra2 import * That only uses the Cadabra python module, which means that you do not have access to all the Cadabra specific syntax for declaring expressions and properties.

Re: [sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-13 Thread Dima Pasechnik
On Sat, Mar 13, 2021 at 2:31 PM sylvain golenia wrote: > > Thanks much for this advice. I was able to launch sage in a terminal. > However, when I try sage -njupyter, here is the answer that I get : > > /Users/XXX/opt/miniconda3/envs/sage/bin/sage: line 1094: >

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Dima Pasechnik
On Sat, Mar 13, 2021 at 3:34 PM Kasper Peeters wrote: > > I am happy to stand corrected, but shouldn't you in that case set > `CMAKE_INSTALL_PREFIX` to the empty string? Things get installed into > `${DESTDIR}${CMAKE_INSTALL_PREFIX}`. If you do not set > `CMAKE_INSTALL_PREFIX`, it defaults to

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Kasper Peeters
I am happy to stand corrected, but shouldn't you in that case set `CMAKE_INSTALL_PREFIX` to the empty string? Things get installed into `${DESTDIR}${CMAKE_INSTALL_PREFIX}`. If you do not set `CMAKE_INSTALL_PREFIX`, it defaults to `/usr/local`. Kasper On Saturday, 13 March 2021 at 13:47:43 UTC

Re: [sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-13 Thread sylvain golenia
Thanks much for this advice. I was able to launch sage in a terminal. However, when I try sage -njupyter, here is the answer that I get : /Users/XXX/opt/miniconda3/envs/sage/bin/sage: line 1094: /Users/XXX/opt/miniconda3/envs/sage/build/bin/sage-site: No such file or directory

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Dima Pasechnik
On Fri, Mar 12, 2021 at 10:51 PM Kasper Peeters wrote: > > Cadabra author here. On Unix, the Cadabra build/install process installs a > Jupyter kernel, which works with SageMath installed from the binary > distribution (may need some PYTHONPATH setting, but nothing more). It seems that the

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Kasper Peeters
>%display latex > from cadabra2 import * That only uses the Cadabra python module, which means that you do not have access to all the Cadabra specific syntax for declaring expressions and properties. Nothing wrong with that, but if you want the full experience, you need the Cadabra

Re: [sage-support] Using Cadabra2

2021-03-13 Thread 'Daniel Volinski' via sage-support
Hi All, Is it possible to "translate" all that to Windows 10? Thanks, Daniel Volinski En sábado, 13 de marzo de 2021 09:04:30 GMT+2, Henri Girard escribió: Thank you very much, I am using next month ubuntu 21.04 an working with sage 5.2, just install sudo apt install cadabra2 start