Here is the story:
I am working on Mac and I had previously installed coda with python2.7 but had to switch to python 3.
The python3 version working with all the installed python packages is located in
@path = “/Library/Frameworks/Python.framework/Versions/3.7/”
So I decided to install coda again, but there, using the following commands :
./configure --prefix /Library/Frameworks/Python.framework/Versions/3.7/ --enable-python PYTHON=/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
I believed it would do the job.
But, then, when I try to import coda and run coda.open I get the error mentioned in the subject hereabove (“ImportError etc.”)
I checked in the /_codac.so the dylib used (using the comand otool -L) and it gives me : ‘/usr/local/lib/libcoda.15.dylib’ and ‘/usr/lib/libSystem.B.dylib’
‘/usr/local/lib/libcoda.15.dylib’ does not correspond to @path where I have installed coda and all the dependencies, including _codac.so (and where there is also the file libcoda.15.dylib). I do not understand why the link to the dynamic library is wrong in the .so file.
If you could help me with this, I would really appreciate.