Closed Audrius-St closed 2 years ago
Your system links against anaconda's gtk-and-friends, but pkg-config has picked up the system-provided gtk. That's not likely to work ever. If you are only interested in the Jupyter kernel, not Cadabra's native notebook frontend, then disable the frontend by adding -DENABLE_FRONTEND=OFF
to the cmake line.
Or disable anaconda and just stick to system-provided packages.
Your system links against anaconda's gtk-and-friends, but pkg-config has picked up the system-provided gtk. That's not likely to work ever.
Thanks for your prompt reply and explanation.
If you are only interested in the Jupyter kernel, not Cadabra's native notebook frontend, then disable the frontend by adding
-DENABLE_FRONTEND=OFF
to the cmake line.
This cmake line addition did the job. Cadabra2 built successfully on both Ubuntu 20.04 and WLS: Ubuntu 20.04. Runs as expected on WLS: Ubuntu 20.04 in VS Code using the Cadabra2 / Jupyter kernel.
Or disable anaconda and just stick to system-provided packages.
I prefer anaconda for its convenience and being more current.
Hello,
I had previously successfully built, run, and used Cadabra2 in VSCode running under WSL2. After several upgrades of Python packages [conda], VSCode, and VSCode extensions, I noticed that Cadabra2 has stopped working - no reference to the Cadabra2 kernel in the Jupyter notebook.
Tried to rebuild Cadabra2 on two different Linux systems
Ubunt2 20.04.4 LTS
WSL2: Ubunt2 20.04 LTS
WSL version: 0.51.3.0 Kernel version: 5.10.93.2 WSLg version: 1.0.30 Windows version: 10.0.22572.100
with Jupyter Extension v2022.2.1030672458
Anaconda3-2021.11-Linux-x86_64.sh with package upgrades via conda
The details:
Thank you.