osx 10.8 installation failure

asked 2013-10-20 10:53:26 -0500

RobertJFrey gravatar image

updated 2015-10-22 14:35:56 -0500

FrédéricC gravatar image

Using the binaries. Tried both 10.6 and 10.8 osx app versions. System running 10.8.5. Sage does not appear to load. The following appears at the end of the log:

File "/Applications/Sage-5.12-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/python/sre_constants.py", line 18, in <module> from _sre import MAXREPEAT ImportError: cannot import name MAXREPEAT

edit retag flag offensive close merge delete


Some Google searches seem to indicate that this could be related to the Python version in Sage being 2.7.5 but Mac system Python being 2.7.x for some x less than 4. In principle this shouldn't matter, but perhaps something accidentally got linked to the system Python, not the Sage one. As a workaround, you should be able to compile it from scratch, though you will need the (free with an Apple ID) Developer tools from Apple... I've asked the developer list at https://groups.google.com/forum/#!topic/sage-devel/KDSR-KGDLwc since this should not happen.

kcrisman gravatar imagekcrisman ( 2013-10-20 14:44:24 -0500 )edit