-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Notebook does not see the cadabra2 kernel, both installed via conda and the recommended way #270
Comments
First of all, input like
is Cadabra syntax, not Python, so you should not expect that to work in a Python session. You really need either the Cadabra Jupyter kernel or Cadabra's own notebook interface As for your Jupyter kernel problem: you cannot mix-and-match Python distributions. If you decide you want to use Anaconda for you Python things, then everything has to come from Anaconda, otherwise you are in for a disaster. So you have two options:
Option 2 is by far the cleanest (the apt package manager is a lot better than the conda one). P.S. I don't know why the conda installation does not put P.P.S. Thanks, I have now fixed that page. |
Thank you for the response! I have tried installing |
Hello there!
I was trying to install cadabra2 so that I would be able to use it in Jupyter Notebook. First I installed it as an Anaconda package. It worked in the sense that Anaconda is aware that the package exists, and seems to understand commands like
However, when I try something like
{\mu,\nu,\rho}::Indices(position=free).
orcd.{\mu,\nu,\rho}::Indices(position=free).
Jupyter notebook raises a Python syntax error. I tried to install the standalone version of cadabra2, using the instruction from the official github repository, and it has installed successfully, but Jupyter notebook does not provide an option to run the cadabra2 kernel. What could be the problem? I use Xfce 4.16.0, distro: Linux Mint 21 Vanessa, base: Ubuntu 22.04 jammy.
P.S. Also
cadabra2-gtk
does not work from the terminal (fish thinks the command does not exist, althoughcadabra2
works just fine)P.P.S. Also this link: https://cadabra.science/static/cadabra_in_ipython.nb.html to the inside-Python use tutorial from the official site does not work
The text was updated successfully, but these errors were encountered: