Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

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? SageMath already provides an environment to run Python3 programs.

I do not want to install conda or anaconda or miniconda, I just want to use Cadabra2 in the Jupyter Notebook provided by the SageMath installation and may be with minimal installation of some software.

Thanks,

Daniel Volinski

in General questions by

1 Answer

+1 vote
 
Best answer

Cadabra does not need Conda (I am not using Conda myself either). A standard build from source will produce a Jupyter kernel which runs with the Python installation which is picked up at build time.

Your main problem will be that you are trying to do this on Windows 10. Building Cadabra from source on that platform is far from trivial, and I have no idea how to do that such that it builds against the version of Python shipped with SageMath. In addition, SageMath is a bit of a weird beast to start with, as it tends to ship with everything it needs, including compilers. That is only changing slowly recently, but I am not following this very closely.

Your best bet, if you insist on staying with Windows, may be to ask people on the SageMath mailing list how to build a mixed C++/Python program like Cadabra from source. A better choice may be to switch to Linux, as that platform really is much more friendly for software like this.

Feel free to get in touch wagain ith more technical questions if you decide to give this a shot.

by (82.6k points)

Hello there, I also have the same problem I am trying to instal Cadabra in Jupyter but it is impossible, I do not know where is the problem but in Jupyter the normal calculation works but I can not put the Cadabra. If you could help me I would really appreciate it. Best

...