Re: [sage-support] Using Cadabra2

2021-04-14 Thread Dima Pasechnik
On Friday, March 12, 2021 at 10:51:56 PM UTC kasper@gmail.com 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). On >

Re: [sage-support] Using Cadabra2

2021-04-14 Thread Dima Pasechnik
On Wednesday, April 14, 2021 at 10:22:01 AM UTC+1 Daniel Volinski wrote: > Hi All, > > Has this been resolved? Can I use Cadabra2 on a SageMath installation on > Windows 10? > no, not really - your best bet is to use WSL2 and build SageMath and Cadabra from source there. Then you have a chanc

Re: [sage-support] Using Cadabra2

2021-04-14 Thread 'Daniel Volinski' via sage-support
Hi All, Has this been resolved? Can I use Cadabra2 on a SageMath installation on Windows 10? Thanks, Daniel Volinski On Sunday, March 14, 2021 at 10:55:48 PM UTC+2 dim...@gmail.com wrote: > On Sun, Mar 14, 2021 at 7:29 PM Kasper Peeters > wrote: > > > > Run cmake as > > > > cmake -DCMAKE_I

Re: [sage-support] Using Cadabra2

2021-03-14 Thread Dima Pasechnik
On Sun, Mar 14, 2021 at 7:29 PM Kasper Peeters wrote: > > Run cmake as > > cmake -DCMAKE_INSTALL_PREFIX=/local > > and do not set `DESTDIR`. The `DESTDIR` variable is meant for package > creation, not to set the final installation location; see > https://www.gnu.org/prep/standards/html_node/

Re: [sage-support] Using Cadabra2

2021-03-14 Thread Kasper Peeters
Run cmake as cmake -DCMAKE_INSTALL_PREFIX=/local and do not set `DESTDIR`. The `DESTDIR` variable is meant for package creation, not to set the final installation location; see https://www.gnu.org/prep/standards/html_node/DESTDIR.html for more details. On Saturday, 13 March 2021 at 16:19:

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. Nothin

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] 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 Jupy

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 kern

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 s

Re: [sage-support] Using Cadabra2

2021-03-12 Thread Henri Girard
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 sage in jupyter notebook and to display latex at the beginning write only once  in a cell %display latex from cadabra2 import * from IPython.display import display, M

Re: [sage-support] Using Cadabra2

2021-03-12 Thread Kasper Peeters
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). On Windows, the build process using Visual Studio is relatively simple, but getting e

Re: [sage-support] Using Cadabra2

2021-03-08 Thread Dima Pasechnik
On Mon, Mar 8, 2021 at 7:28 AM 'Daniel Volinski' via sage-support wrote: > > Hi Dima, > > This is a page in the Cadabra site: Cadabra: use with Jupyter > > I just want to calculate some General relativity stuff using Cadabra on a > Jupyter Notebook as shown in their picture. I'm able to build Ca

Re: [sage-support] Using Cadabra2

2021-03-07 Thread 'Daniel Volinski' via sage-support
Hi Dima, This is a page in the Cadabra site: Cadabra: use with Jupyter I just want to calculate some General relativity stuff using Cadabra on a Jupyter Notebook as shown in their picture. Thanks, Daniel Volinski En domingo, 7 de marzo de 2021 11:54:22 GMT+2, Dima Pasechnik escribió:

Re: [sage-support] Using Cadabra2

2021-03-07 Thread Dima Pasechnik
I must say I don't understand what you mean by "use Cadabra2 on a Jupyter Notebook", is it even possible? The following does not read like it's supported by Cadabra2: https://github.com/kpeeters/cadabra2/tree/master/frontend/web They have https://github.com/kpeeters/cadabra2/tree/master/jupyterke

Re: [sage-support] Using Cadabra2

2021-03-07 Thread 'Daniel Volinski' via sage-support
Hi Dima, I asked the same question on the Cadabra support site, they don't know either. Daniel Volinski En sábado, 6 de marzo de 2021 16:57:24 GMT+2, 'Daniel Volinski' via sage-support escribió: Thank you Dima. Daniel Volinski En sábado, 6 de marzo de 2021 12:30:27 GMT+2, Dima P

Re: [sage-support] Using Cadabra2

2021-03-06 Thread 'Daniel Volinski' via sage-support
Thank you Dima. Daniel Volinski En sábado, 6 de marzo de 2021 12:30:27 GMT+2, Dima Pasechnik escribió: On Sat, 6 Mar 2021, 10:23 'Daniel Volinski' via sage-support, wrote: Hi Dima, Thank you for your reply. I already have a Python3 installation provided by the SageMath installati

Re: [sage-support] Using Cadabra2

2021-03-06 Thread Dima Pasechnik
On Sat, 6 Mar 2021, 10:23 'Daniel Volinski' via sage-support, < sage-support@googlegroups.com> wrote: > Hi Dima, > > Thank you for your reply. > > I already have a Python3 installation provided by the SageMath > installation, I can run Python3 programs without adding anything else. > I already hav

Re: [sage-support] Using Cadabra2

2021-03-06 Thread 'Daniel Volinski' via sage-support
Hi Dima, Thank you for your reply. I already have a Python3 installation provided by the SageMath installation, I can run Python3 programs without adding anything else.I already have a LaTeX installation (MikTex) that I use with other programs. How do I proceed from here? Thanks, Daniel Volinsk

Re: [sage-support] Using Cadabra2

2021-03-05 Thread Dima Pasechnik
On Fri, Mar 5, 2021 at 8:42 PM 'Daniel Volinski' via sage-support wrote: > > Hi All, > > I'm using SageMath 9.2 on Windows 10 Native with Jupyter Notebook. > > My question, is there any way to use Cadabra2 on a Jupyter Notebook after > installing SageMath? > > I do not want to install conda or an

[sage-support] Using Cadabra2

2021-03-05 Thread 'Daniel Volinski' via sage-support
Hi All, I'm using SageMath 9.2 on Windows 10 Native with Jupyter Notebook. My question, is there any way to use Cadabra2 on a Jupyter Notebook after installing SageMath? I do not want to install conda or anaconda or miniconda, I just want to use Cadabra2 in the Jupyter Notebook provided by the S