Closed hirani closed 1 year ago
I was not able to reproduce this on the Intel app and will not have access to the M1 app for a few days. The error message indicates that the _specfun module does not have its rpath set correctly on your system. Please make sure you have installed the latest version of SageMath-9-7.app. If so, please run:
cd Applications/SageMath-9-7.app/Contents/Frameworks/Sage.framework/Versions/9.7/venv/lib/python3.10/site-packages/scipy/special
Then run
otool - l _specfun.cpython-310-darwin.so | grep path
and report the result.
@culler Here is the relevant output of otool:
$ otool -l _specfun.cpython-310-darwin.so | grep path
name @rpath/libgfortran.5.dylib (offset 24)
name @rpath/libquadmath.0.dylib (offset 24)
path @loader_path (offset 12)
Thank you. That confirms my theory. No rpath is set.
On Sat, Nov 19, 2022, 9:42 AM Anil N. Hirani @.***> wrote:
@culler https://github.com/culler Here is the relevant output of otool:
$ otool -l _specfun.cpython-310-darwin.so | grep path name @rpath/libgfortran.5.dylib (offset 24) name @rpath/libquadmath.0.dylib (offset 24) path @loader_path (offset 12)
— Reply to this email directly, view it on GitHub https://github.com/3-manifolds/Sage_macOS/issues/49#issuecomment-1320921545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6CP2NX5CLZ4M6P6AKRO3WJD7ONANCNFSM6AAAAAASE45PSE . You are receiving this because you were mentioned.Message ID: @.***>
@hirani would you please test the new diskimage in the v1.5.2 prerelease? Please let me know if it fixes this problem. Thanks.
@culler I tested the v1.5.2 prerelease and the problem is fixed. Thanks.
Great. Thanks for the report.
In SageMath-9-7, importing scipy.special on an Apple M1 Max running MacOS Monterrey 12.6.1 caused an
ImportError
. Here is the traceback: