There is supposed to be a script called "relocate-once.py" next to the sage launch script that is missing for you. It runs automatically when you start sage for the first time and then delets itself. I don't know how you lost that file...
On Tuesday, March 7, 2017 at 8:14:01 PM UTC+1, crown...@gmail.com wrote: > > Does SAGE work on OS X 10.12? I moved SageMath to my applications > directory and then > > ────────────────────────────────────────────────────────────────────┐ > │ SageMath version 7.5.1, Release Date: 2017-01-15 │ > │ Type "notebook()" for the browser-based notebook interface. │ > │ Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > > ERROR: The Sage installation tree has moved > > from > /Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma > to /Applications/SageMath > > This is not supported, and Sage will not work. To install Sage from a > binary package: > > 1. Open the .tar.bz2 archive (or .dmg on OSX) > > 2. Move the SageMath folder/app to where you want it to be. You can > also rename the directory now. > > 3. Start sage for the first time. This will then automatically patch > paths in binaries. > > After starting Sage for the first time you cannot change the > installation any more. To install Sage elsewhere, start over from the > binary package. Or recompi > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.