(I am sorry if editing the title/main body of a post is frowned upon. However, research into my problem has refined my knowledge somewhat.)
I have a problem. I have installed psi4 using anaconda, python 2.7, on macos. Version 1.1 did not run at all (“Illegal Instruction: 4”), so I presume that there is some binary compiled for newer operating systems only. I downgraded to psi4 1.0, and running psi4 in command line works fine.
My problem now: when importing psi4 as a module in Python, I get the following error, pasted below. From this post, it seems that some cleanup by Apple in their LAPACK library leads to problems, breaking the binaries, as there are linking assumptions that are no longer true.
Does anyone know how to fix this?
>>> import psi4 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/Users/simen/anaconda2/lib/python2.7/site-packages/psi4.so, 2): Symbol not found: _DGESV_ Referenced from: /Users/simen/anaconda2/lib/python2.7/site-packages/psi4.so Expected in: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions /A/libBLAS.dylib in /Users/simen/anaconda2/lib/python2.7/site-packages/psi4.so >>>