SageMath 8.1 installation troubles on Mac OSX 10.12.6

197 views
Skip to first unread message

Hyrundo Webarch

unread,
Jan 28, 2018, 7:03:05 AM1/28/18
to sage-support
Hello SageMath Support, 

I'm trying to install the Sage vs. 8.1 on a Mac OSX 10.12.6 - the XCode command line tools are installed - I downloaded the correct .dmg distribution from the SageMath website, launched it, copied the files in the Applications directory and followed the 'ReadMe.txt' installation protocol, but the outcome is always the same: 

"RecursionError: maximum recursion depth exceeded during compilation"

either if I double click on the 'sage' file from its root folder (./Applications/SageMath/sage) or if I perform a 'make' on the same root folder in the command line. 

It doesn't want to run, so what to do?  


PS. I read somewhere else that it's possible getting in troubles with a SageMath installation when having an Anaconda server installed on the machine, which I have. 

Thank you for any useful suggestion.


Dima Pasechnik

unread,
Jan 28, 2018, 9:17:30 AM1/28/18
to sage-support
it could be an interference on Anaconda's side, indeed.
Could you try uninstalling or otherwise deactivating it, and then attempt to install Sage again?

Hyrundo Webarch

unread,
Jan 28, 2018, 11:26:23 AM1/28/18
to sage-support
[SOLVED] Anaconda created the conflict, yes indeed!

I performed the following: 

1) I completely deleted Anaconda - check this link: https://docs.anaconda.com/anaconda/install/uninstall
2) instead of deleting SageMath and reinstalling it, I opened the terminal, reached the Sage installation directory (./Applications/SageMath/sage) and performed a 'make' command to compile the whole bunch of files from the SageMath distribution (it took some time)
3) then I launched SageMath and now everything worked smoothly. 

Thank you for the good hint.  With Best Regards

slelievre

unread,
Jan 30, 2018, 9:23:27 PM1/30/18
to sage-support
Sun 2018-01-28 16:26:23 UTC, Hyrundo Webarch:
>
> [SOLVED] Anaconda created the conflict, yes indeed!
>
> I performed the following: 
>
> 1)  I completely deleted Anaconda - check this link:
> 2)  instead of deleting SageMath and reinstalling it, I opened 
>     the terminal, reached the Sage installation directory
>     (./Applications/SageMath/sage) and performed a 'make'
>     command to compile the whole bunch of files from the
>     SageMath distribution (it took some time)
> 3)  then I launched SageMath and now everything worked smoothly.
>
> Thank you for the good hint.  With Best Regards

Some notes:

- The dmg for macOS that you download contains a pre-compiled
  version of SageMath, no need to run make, it should work as is.
- If you download the source files, then you run make.
- Another way to get the dmg of the SageMath app for macOS
  is to use Homebrew, see this Ask Sage question:

Reply all
Reply to author
Forward
0 new messages