Install error message

174 views
Skip to first unread message

BD Kim

unread,
Oct 29, 2019, 12:55:27 AM10/29/19
to sage-support
I (or rather the system administrator) have installed Sage on a Mac, and while trying to open Sage for the first time, I got this error message:

bdkim% '/Applications/SageMath-8.9.app/Contents/Resources/sage/sage' --notebook=sagenb


Rewriting paths for your new installation directory

===================================================


This might take a few minutes but only has to be done once.


patching /Applications/SageMath-8.9.app/Contents/Resources/sage/build/make/Makefile-auto

Traceback (most recent call last):

  File "/Applications/SageMath-8.9.app/Contents/Resources/sage/relocate-once.py", line 150, in <module>

    p('build/make/Makefile-auto').substitute().save()

  File "/Applications/SageMath-8.9.app/Contents/Resources/sage/relocate-once.py", line 103, in save

    with open(self.filename, 'wb') as f:

IOError: [Errno 13] Permission denied: '/Applications/SageMath-8.9.app/Contents/Resources/sage/build/make/Makefile-auto'

Error running the script 'relocate-once.py'.





What does this mean?



Best,


BD

Dima Pasechnik

unread,
Oct 29, 2019, 2:58:27 AM10/29/19
to sage-support
On Tue, Oct 29, 2019 at 6:55 AM BD Kim <bdki...@gmail.com> wrote:
>
> I (or rather the system administrator) have installed Sage on a Mac, and while trying to open Sage for the first time, I got this error message:
>

The administrator needs to actually run Sage once, to complete the installation.
(the problem is that the 1st run does write things in Sage's
installation directory, and this cannot be done
by a unpriviliged user)

HTH
Dima

> bdkim% '/Applications/SageMath-8.9.app/Contents/Resources/sage/sage' --notebook=sagenb
>
>
> Rewriting paths for your new installation directory
>
> ===================================================
>
>
> This might take a few minutes but only has to be done once.
>
>
> patching /Applications/SageMath-8.9.app/Contents/Resources/sage/build/make/Makefile-auto
>
> Traceback (most recent call last):
>
> File "/Applications/SageMath-8.9.app/Contents/Resources/sage/relocate-once.py", line 150, in <module>
>
> p('build/make/Makefile-auto').substitute().save()
>
> File "/Applications/SageMath-8.9.app/Contents/Resources/sage/relocate-once.py", line 103, in save
>
> with open(self.filename, 'wb') as f:
>
> IOError: [Errno 13] Permission denied: '/Applications/SageMath-8.9.app/Contents/Resources/sage/build/make/Makefile-auto'
>
> Error running the script 'relocate-once.py'.
>
>
>
>
>
> What does this mean?
>
>
>
> Best,
>
>
> BD
>
> --
> 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 sage-support...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/ddb87242-73e5-438d-ac40-118774a8c37e%40googlegroups.com.

BD Kim

unread,
Oct 30, 2019, 3:12:37 AM10/30/19
to sage-support
Thank you very much. I let the system administrator know.

Best,

BD
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-s...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages