Hello Sage Team,
I
am contacting you to ask for help in regard to Sage installation on my
macBook pro. I would like to install Sage on my macOS Big Sur (version
11.1) with Intel Core i7. Among the options for installation, I chose
SageMath-9.2.app.dmg (I tried the other 2 other options, but I ran into
even more severe issues). After dragging SageMath into the Applications
folder, a shortcut is created. When I execute SageMath through the
created shortcut, a Safari browser is opened for the Jupyter notebook
asking to wait until Jupyter initiates. But shortly after, I get a
message that Sage cannot start, and I am referred to the log file which
has been copy pasted in below:
***************************************************************************************************
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 <module> 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 <module> import ssl
File "/Applications/
SageMath-9.2.app/Contents/Resources/sage/local/lib/python3.8/ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl'
┌────────────────────────────────────────────────────────────────────┐
│ 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...
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).
**********************************************************************************************
I
have installed "openssl" package through anaconda, but it still seems
to be an issue here. If I just go ahead and run "./sage -f python3" (as
the above log file suggests at the end), after a long compilation, I get
an Error 1 message (please see the attached file). Now not only do I
get the Jupyter issue resolved, I will also lose the ability to run Sage
through Terminal! Could you kindly look into this issue and instruct
how to proceed? I really hope for jupyter notebook integrated solution,
as programming in terminal is not convenient.
Thank you for your assistance,
Masoud