One more detail: when you run mktexlsr, if you see messages saying 
"directory not writable. Skipping..." that means that you need to run 
mktexlsr as the superuser, by using the command `sudo mktexlsr`.

- Marc

On Wednesday, August 27, 2025 at 5:47:47 PM UTC-5 Marc Culler wrote:

> When I said "/usr/local/sage" I meant "/usr/local/bin/sage".
>
> And, as a reminder, a key step is to run mktexlsr so that TeXLive can 
> update its database of all Tex-related files, and find sagetex.sty after 
> you install it.
>
> - Marc
>
> On Wednesday, August 27, 2025 at 5:34:32 PM UTC-5 Marc Culler wrote:
>
>> Hi Tessa,
>>
>> Please answer "yes" to agree to overwrite your existing sagetex.sty file, 
>> even though you don't have one.  I apologize for that message being 
>> imprecise.  It means "Is it OK if we replace your sagetex.sty file *If 
>> you have one*.  But it does not actually check whether you do have one.  
>> We wanted to warn people in case they had made changes to their sagetex.sty 
>> file which they don't want to lose.  Similarly for the script 
>> /usr/local/sage.
>>
>> About the crazy statement from google: please don't trust chatbots.  When 
>> they don't know the answer they make one up, and the made up one is almost 
>> always wrong.  But, as you know, this is a much bigger issue than your 
>> sagetex.sty issue. :^)
>>
>> - Marc
>>
>> On Wednesday, August 27, 2025 at 5:23:41 PM UTC-5 [email protected] 
>> wrote:
>>
>>> Hi Dima,
>>>
>>> I installed Sage from https://github.com/3-manifolds/Sage_macOS/releases
>>>
>>> That seemed to work fine, and now I have a SageMath-10-7 icon in my 
>>> applications folder. 
>>>
>>> However, I cannot locate the "sagetex.sty" file anywhere, even though it 
>>> asks to overwrite it upon installation. 
>>> When I Google, it says that it can be found here: 
>>> Applications/SageMath-<version>.app/Contents/Resources/sage/local/share/texmf/tex/latex/sagetex/sagetex.sty
>>>
>>> However, there is no "sage" folder in the "Resources" folder. This was 
>>> the very first way I attempted to install SageMath, and I gave up because I 
>>> could not locate the "sagetex.sty" to make it known to LaTeX.
>>>
>>> Thank you for your help.
>>>
>>>
>>>
>>> On Wed, Aug 27, 2025 at 12:51 PM Dima Pasechnik <[email protected]> 
>>> wrote:
>>>
>>>> There are ways to get Sage working on your Mac without building from 
>>>> source.
>>>> In our installation guide 
>>>> <https://doc.sagemath.org/html/en/installation/index.html#macos>
>>>> there is a link to
>>>>
>>>> <https://github.com/3-manifolds/Sage_macOS/releases>
>>>>
>>>> in 
>>>>
>>>> No development:
>>>>
>>>>     Install the binary build of SageMath from the 3-manifolds project. 
>>>> It is a signed and notarized app, which works for macOS 10.12 and newer. 
>>>> It 
>>>> is completely self-contained and provides the standard Sage distribution 
>>>> together with many optional packages. Additional optional Python packages 
>>>> can be installed with the %pip magic command and will go into your ~/.sage 
>>>> directory.
>>>>
>>>>     Alternatively, install SageMath from the conda-forge project, as 
>>>> described in section Install from conda-forge.
>>>>
>>>>
>>>> Or, perhaps, you do need a customisation which does need building from 
>>>> source (as you tried).
>>>>
>>>> HTH
>>>> Dima 
>>>>
>>>>
>>>> On August 27, 2025 1:04:31 PM CDT, Tessa Weinstein <[email protected]> 
>>>> wrote:
>>>>
>>>>> I was researching how to get LaTeX to do calculations so that I can 
>>>>> automate worksheets and everything pointed to using SageMath. I am 
>>>>> attempting to install Sage on a Mac running Sequoia 15.6 (M1).
>>>>>
>>>>>    1. I installed Xcode and accepted the license using the command 
>>>>>    "xcode-select --install"
>>>>>    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 noticed that someone else had a similar problem, and a patch 
>>>>> (patch-2.7.6) was suggested; however, 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.
>>>>>
>>>>> This is the second attempt I've made to install SageMath. First, I 
>>>>> tried a binary install, but I could not locate the "sagemath.sty" file to 
>>>>> make it known to LaTeX. Using Homebrew or conda seemed more complicated 
>>>>> than this method, which is why I was trying it. 
>>>>>
>>>>> I really appreciate any help you can provide.
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Tessa
>>>>>
>>>>> -- 
>>>>
>>> You received this message because you are subscribed to the Google 
>>>> Groups "sage-support" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>>
>>> To view this discussion visit 
>>>> https://groups.google.com/d/msgid/sage-support/2BDA70F3-DD5B-468A-BB25-92446EF833D8%40gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/sage-support/2BDA70F3-DD5B-468A-BB25-92446EF833D8%40gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/80d4dbb8-2fdb-47d2-b08a-929ac7b07f64n%40googlegroups.com.

Reply via email to