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

First thank you Dominic Price for porting Cadabra to Windows and Kasper for writing Cadabra. Second I have not been able to make it work on my Win 10 64bit machine yet. This is what I did: Installed latest MikTex, replacing an older version. It is working fine Installed Anaconda 3 .It is working fine (1+1=2 using several editors). Downloaded Cadabra 2.2.0 and Cadabra 2.2.1 from this site.

Cadabra 2.2.1 installs fine , but as soon as I load beginners.cnd I get a generic TeX error dialog box, with no further explanation. Same thing as soon as I try to evaluate any cell that I write.

Cadabra 2.2.0 does not even install. It stops during installation saying sqlite3.dll is missing.

Any suggestions? Alessandro

in Installation trouble by (540 points)
retagged by

thx also

Microsoft Windows [Version 10.0.17134.228] (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\D_Hoy>cd \

C:>cd cadabra

C:\Cadabra>cd bin

C:\Cadabra\bin>cadabra2-gtk.exe

C:\Cadabra\bin>

... didn't change behavior

(deactivated speech recognition, could have "occupied" input fields) (Cortana starts again after stopp it's processes)

I used process explorer to get an idea what's going on in Windows 10. The proceses of Cadabra became red aifter 2 seconds and vanished. After that "runDDL32.exe" was visible in red for a second, which surprised me, because i thought i was running a 64-bit version. I realized, that i installed the first version named before anaconda python and that was 32-bit. I deinstalled Python 3.7.0 and installed Anaconda 3.6 for Windows. The Firewall asked for permission and now it seems to work ...

Ah, very good, thanks for getting to the bottom of this.

Text from installer:

Before installing Cadabra2, you must make sure that the following prerequisites are satisfied:

  • A working Python installation You must have python3 installed on your system with the sympy package available. Python can be downloaded from https://www.python.org/downloads/ and sympy is installed by executing the command ‘python -m pip install sympy –-user’. Alternatively, use an Anaconda Python installation, available from https://www.anaconda.com/download/ .
  • A working LaTeX distribution MixTex is recommended and can be downloaded from https://miktex.org/download - this is the largest dependency.

Better only mention Anaconda Python ?

Yes, we didn't quite understand the mess that the Python ecosystem is in when it comes to incompatibilities. It should mention that you absolutely need a 64-bit Anaconda Python.

3 Answers

0 votes

Please try the 2.2.1d installer which is now available, and let me know if that's any better.

by (83.1k points)

This does indicate a PYTHONPATH or PYTHONHOME issue, but that's where my understanding of this ends. The cadabra-server binary sets these to /Users/abc/Anaconda3 (where abc is your user name) plus anything they already contain. Where is Anaconda installed for you?

Installed Anaconda @ D:\Programme\Anaconda3 binary sets are @ C:\Users\user\ There is ".anaconda\", ".conda", ".ipython", ".jupyter" and ".spyder-py3" as far as I recognized stuff from Python (as I have not worked before with that)

If Anaconda is in D:\Programme\Anaconda3, set PYTHONHOME and PYTHONPATH to that directory.

Hello kasper,

got now time to get it running. Installation works now :) Used standard Python (not Anaconda) without any specific patch settings and the "Debug" instead of "RelWithDebInfo" option (as you said).

Thx again for your quick answers.

The current github master branch also builds with RelWithDebInfo again on Windows.

0 votes

There is a new 2.2.7f installer at

https://cadabra.science/packages/windows/

Can anyone who had trouble previously please give that one a shot? It should be able to detect anaconda/miniconda installed in weird places, and should also take care of installing missing DLLs automatically.

All feedback is welcome!

by (83.1k points)
0 votes

I have updated the Windows installer to Cadabra 2.3.5. All feedback is welcome; I would like to make the windows version part of the regular release process, but that requires that we have a sufficient number of machines on which it is tested.

Download from https://cadabra.science/packages/windows/ .

by (83.1k points)
...