Though Sage officially supports python 3.9 to python 3.12, in my experience, python 3.9 is "too old" and python 3.12 is somewhat "too new", in the sense that packages on which sage depends on may not work well with them.
So I suggest to try ./configure --with-python=PYTHON3 where PYTHON3 is the path to your favorite python. On my system, I get the path by $ which python3.12 /usr/local/bin/python3.12 $ which python3.11 /usr/local/bin/python3.11 I recommend to try first with python3.12 and then with python3.11. If you don't have them, you need to first have the python, perhaps by homebrew. For example, make distclean ./configure --with-python=/usr/local/bin/python3.12 make Sorry that only trial-and-error solution is suggested. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/abd665be-4e60-44d9-ae0e-19d45ab78e0an%40googlegroups.com.