On Fri, Dec 4, 2020 at 3:26 PM Mathieu Dutour wrote:
>
> On Thursday, 3 December 2020 at 19:13:28 UTC+1 dim...@gmail.com wrote:
>>
>> On Thu, Dec 3, 2020 at 5:39 PM Mathieu Dutour wrote:
>>>
>>> Thank you for providing this. Keep that in mind for future.
>>>
>>> As it turns out, the solution to installing was incredibly simple:
>>> "brew install sage"
>>
>>
>> on macOS 10.15.7 this appears to install the version 9.2 of x86_64.app.dmg
>> by
>> pulling it from a Sage mirror.
>>
>> Does Sage installed this way work?
>> (I'd be surprised it was the case)
>
> That is correct.
> However, I had to give authorization only one time which represent
> a progress and allowed me to run sage on macintosh.
>
> I still think it should be mentioned in the Sage Installation Guide.
as I already mentioned, for some reason this does not work on a macOS
10.15.7 machine I have access to.
Strangely enough, I needed to run first a command
brew cask
(don't know what it actually does, it did
download (probably git-cloned) something
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 574981 (delta 26), reused 19 (delta 14), pack-reused 574926
Receiving objects: 100% (574981/574981), 240.80 MiB | 7.59 MiB/s, done.
Resolving deltas: 100% (409134/409134), done.
Tapped 1 command and 3739 casks (3,857 files, 259MB).
brew cask
after which
brew install --cask sage
did seem to work.
Starting sage brought up the popup:
--
“SageMath-9.2” cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware.
---
[move to bin] [cancel]
-
So I did
% sudo xattr -r -d com.apple.quarantine /Applications/SageMath-9.2.app
xattr: No such file:
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/share/jupyter/kernels/sagemath/doc
Apparently there is a dangling link pointing there, but OK. It has done the job,
and have an apparently working sage in terminal. Jupyter is broken:
% sage -n
┌┐
│ SageMath version 9.2, Release Date: 2020-10-24 │
│ Using Python 3.8.5. Type "help()" for help.│
└┘
Please wait while the Sage Jupyter Notebook server starts...
Traceback (most recent call last):
File
"/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/sage/repl/ipython_kernel/install.py",
line 307, in have_prerequisites
from notebook.notebookapp import NotebookApp
File
"/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/notebook/notebookapp.py",
line 66, in
from tornado import httpserver
File
"/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/site-packages/tornado/httpserver.py",
line 29, in
import ssl
File
"/Applications/SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/ssl.py",
line 98, in
import _ssl # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl'
The Jupyter notebook requires ssl, even if you do not use
https. Install the openssl development packages in your system and
then rebuild Python (sage -f python3).
Also, the app in /Applications/SageMath-9.2
does not quite work, most stuff from the menu's does not launch, etc.
So this is not really working well, still. :-(
>
> Mathieu
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/4cafb667-ca96-4417-b57e-c3341bafb041n%40googlegroups.com.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/CAAWYfq3kG5%3D5skEP2Rbex80-7U86M%3DzSaWTVVY%2BcKr0bd1Uxhg%40mail.gmail.com.