# Windows 10 64-bit install not working yet

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).

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

retagged

thx also

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

C:\Users\D_Hoy>cd \

... 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.

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

answered by (50.9k points)

Yes, that's the vcpkg package bug. You need to build in debug mode, so wherever you see RelWithDebInfo you need to use Debug.

Hi kasper!

"Debug" info was great, thank you!

Close to the finish line I had some issues with my firewall, saying suspicous file needs to be deleted (some gio-2.dll). After adding an exception to the folder I could not get it running, so I did everything again from scratch.

Regarding Visual Studio: I needed to choose a developer package otherwise the x64 native tools command line tool was not available.

Ctest was successful except the mentioned 5 packages in the instructions (also under "Debug" option).

Ok, final sprint: typing "C:\Cadabra\bin\cadabra2-gtk" resulted in
"Fatal Python error: initfsencoding: unable to load the file system codec ModuleNotFoundError: No module named 'encodings'

Checked on solutions: a) instally Python as admin, b) set path variable during installation, c) set path variable and PYTHONHOME variable manually.
Did all 3, none worked. Do you have any advice?

At least command line with "python C:\Cadabra\bin\cadabra2" is working. ;)

Regards,
Markus

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.