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

Hi,

I have not used Cadanra2 recently so long and started from a new installation, but seemingly have a problem with launching Cadabra2 in my Mac (OS: Sierra 10.12.6). In the installation I have not got any error message. Also, I tried finding a similar problem in Q&A but could not find it. (Sorry if there is any.)

Below is what I got by trying launching "cadabra2":

*Traceback (most recent call last): File "/usr/local/bin/cadabra2", line 22, in module from cadabra2 import ImportError: dlopen(/usr/local/lib/python3.6/site-packages/cadabra2.so, 2): Library not loaded: @executable_path/../Frameworks/wstp.framework/Versions/4.36/wstp Referenced from: /usr/local/lib/python3.6/site-packages/cadabra2.so Reason: image not found**

Also, the next is what was obtained by carrying out "cadabra2-gtk"

cadabra-client: spawning server libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: ImportError: dlopen(/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/cadabra2.so, 2): Library not loaded: @executable_path/../Frameworks/wstp.framework/Versions/4.36/wstp Referenced from: /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/cadabra2.so Reason: image not found At: string(2): module libc++abi.dylib: terminating with uncaught exception of type std::logic_error: Failed to read port from server. Abort trap: 6

Thanks. P.S. I took off the bra and ket from "string" and "module" in the above.

in Installation trouble by (700 points)

1 Answer

+1 vote
 
Best answer

There seems to be some problem with linking to Mathematica on your Mac. Try the cmake configuration stage with

cmake -DENABLE_MATHEMATICA=OFF ..

and try 'make' and 'sudo make install' again.

by (83.0k points)
selected by

Hi Kasper, I succeeded in launching both cadabra2 and cadabra2-gtk with your suggestion.

...