Trying to install Sage on Mac OS, make stage failed

asked 2025-08-24 00:45:28 +0200

TessaFaye gravatar image

I was researching how to get LaTeX to do calculations so that I can automate worksheets and everything pointed to using SageMath. So, I am trying to install Sage on a Mac running Sequoia 15.6 (M1).

  1. I installed Xcode and accepted the license.
  2. I created a source/build directory
  3. I cloned the Sage git repository
  4. Changed into the created subdirectory sage
  5. I don't plan on doing development, so I went to step 7 and entered the command: make configure

I got the following error message: FileNotMirroredError('tarball does not exist on mirror network') sage_bootstrap.tarball.FileNotMirroredError: tarball does not exist on mirror network Error: downloading configure tarball failed make: * [configure] Error 1

I saw that someone else had a similar problem, and a patch (patch-2.7.6) was suggested, but I'm unsure how to install the patch or where to install it. I downloaded the patch folder and unzipped it, but I'm unsure how to proceed.

I've spent 5 hours today trying to install this today (I've tried two other ways), and I'm ready to give up. I really appreciate any help you can provide.

Thank you in advance, Tessa

edit retag flag offensive close merge delete

Comments

Since you don't plan on doing development, you could install a binary release: https://github.com/3-manifolds/Sage_m...

rburing gravatar imagerburing ( 2025-08-24 15:06:48 +0200 )edit

I tried doing that, and it didn't work either. That was one of the two other ways I've attempted. I could not locate the sagetex.sty file to make it work with LaTeX.

TessaFaye gravatar imageTessaFaye ( 2025-08-24 18:59:02 +0200 )edit

Alright. And for completeness, what's the issue with installing using conda?

rburing gravatar imagerburing ( 2025-08-24 19:19:07 +0200 )edit

What version of Sage are you trying to install? When installing Xcode, did you install the command-line tools (I don't remember if that's a separate step or if it happens automatically). What happens when you run which patch from the Terminal?

John Palmieri gravatar imageJohn Palmieri ( 2025-08-25 18:07:28 +0200 )edit

I haven't tried to get conda to work yet. I don't remember if I installed the command-line tools. I know I ran "xcode-select --install" at one point and accepted the license.

When I run "which patch" from the terminal, it returns "/usr/bin/patch"

I'm going to mess with it again later today. Thanks again for trying to help me.

TessaFaye gravatar imageTessaFaye ( 2025-08-25 18:34:43 +0200 )edit