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

When I try to run the Cadabra after installation on WSL, the following error appears, suggesting some file are missing.

root@LAPTOP-TMUKND11:/home# cadabra2
Cadabra 2.3.6 (build private dated 2022-01-31)
Copyright (C) 2001-2021 Kasper Peeters [kasper.peeters@phi-sci.com](mailto:kasper.peeters@phi-sci.com)
Traceback (most recent call last):
File "/usr/lib/python3.10/code.py", line 90, in runcode
exec(code, self.locals)
File "input", line 1, in

FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.10/site-packages/cadabra2_defaults.py'
Info at https://cadabra.science/
Available under the terms of the GNU General Public License v3
in Installation trouble by (230 points)

1 Answer

+2 votes

The cadabra2 package in Debian/Ubuntu is currently broken, and this leads to the error you showed. Please install a package from the download page at https://cadabra.science/download.html instead for now.

by (76.2k points)