Re: [sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-14 Thread slelievre
If you install Sage for macOS using the binaries from the
download pages of the SageMath website, make sure to
run the `fix_mac_sage` script from

https://github.com/3-manifolds/fix_mac_sage/

If you install via Conda, then to launch Jupyter or JupyerLab,
open a terminal, activate the desired Conda environment,
and run one of

jupyter notebook

or

jupyter lab

That's it.

-- 
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/05384e94-a27c-431b-b5f1-d1065e2bf2een%40googlegroups.com.


Re: [sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-13 Thread Dima Pasechnik
On Sat, Mar 13, 2021 at 2:31 PM sylvain golenia
 wrote:
>
> Thanks much for this advice. I was able to launch sage in a terminal. 
> However, when I try sage -njupyter, here is the answer that I get :
>
> /Users/XXX/opt/miniconda3/envs/sage/bin/sage: line 1094: 
> /Users/XXX/opt/miniconda3/envs/sage/build/bin/sage-site: No such file or 
> directory
>
> /Users/XXX/opt/miniconda3/envs/sage/bin/sage: line 1094: exec: 
> /Users/XXX/opt/miniconda3/envs/sage/build/bin/sage-site: cannot execute: No 
> such file or directory

"sage -n" is a hack.

I'd have tried using conda's jupyter notebook directly (i.e. conda
package notebook)
https://jupyter.org/install
(perhaps it's already installed once sage is installed)

I guess it knows about sage's jupyter kernel, so you can choose the
kernel once you launched notebook.

HTH
Dima

>
>
> Thanks for you help.
>
>
>
>
>
>
> On Fri, 12 Mar 2021 at 23:57, Dima Pasechnik  wrote:
>>
>> Use conda, this is the most reliable solution for macOS:
>> https://doc.sagemath.org/html/en/installation/conda.html
>>
>> On Fri, Mar 12, 2021 at 10:16 PM sylvain golenia
>>  wrote:
>> >
>> > Dear support team,
>> >
>> > I am struggling in launching SAGE on mac BigSur. I have reinstalled 
>> > homebrew and python3 and also opensll. I did the sage -f python3 and still 
>> > had errors. I am not at home with all these manipulations and tried what I 
>> > found on forums but could not go any further. Please find below my log.
>> >
>> > Thanks much for your support.
>> >
>> > Sincerely
>> > Sylvain
>> >
>> > 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).
>> >
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: exec: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > cannot execute: No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: exec: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > cannot execute: No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: exec: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > cannot execute: No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: exec: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > cannot execute: No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > No such file or directory
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
>> > 532: exec: 
>> > /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
>> > cannot execute: No such file or directory
>> >
>> > --
>> > 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/4740438e-a5fe-4b1f-a5fe-7f1d52ec89b4n%40googlegroups.com.
>>
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/sage-support/0i9CX1eR2Ek/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/CAAWYfq1dL5%2B-OLzBBeL%3D6DRVDmA0Tzb3hr1b28Hfgqx-h57v0Q%40mail.gmail.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 

Re: [sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-13 Thread sylvain golenia
Thanks much for this advice. I was able to launch sage in a terminal.
However, when I try sage -njupyter, here is the answer that I get :

/Users/XXX/opt/miniconda3/envs/sage/bin/sage: line 1094:
/Users/XXX/opt/miniconda3/envs/sage/build/bin/sage-site: No such file or
directory

/Users/XXX/opt/miniconda3/envs/sage/bin/sage: line 1094: exec:
/Users/XXX/opt/miniconda3/envs/sage/build/bin/sage-site: cannot execute: No
such file or directory


Thanks for you help.






On Fri, 12 Mar 2021 at 23:57, Dima Pasechnik  wrote:

> Use conda, this is the most reliable solution for macOS:
> https://doc.sagemath.org/html/en/installation/conda.html
>
> On Fri, Mar 12, 2021 at 10:16 PM sylvain golenia
>  wrote:
> >
> > Dear support team,
> >
> > I am struggling in launching SAGE on mac BigSur. I have reinstalled
> homebrew and python3 and also opensll. I did the sage -f python3 and still
> had errors. I am not at home with all these manipulations and tried what I
> found on forums but could not go any further. Please find below my log.
> >
> > Thanks much for your support.
> >
> > Sincerely
> > Sylvain
> >
> > 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).
> >
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532: exec:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> cannot execute: No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532: exec:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> cannot execute: No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532: exec:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> cannot execute: No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532: exec:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> cannot execute: No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> No such file or directory
> > /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage:
> line 532: exec:
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3:
> cannot execute: No such file or directory
> >
> > --
> > 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/4740438e-a5fe-4b1f-a5fe-7f1d52ec89b4n%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/0i9CX1eR2Ek/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAAWYfq1dL5%2B-OLzBBeL%3D6DRVDmA0Tzb3hr1b28Hfgqx-h57v0Q%40mail.gmail.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/CACRXk%2B4dXY9qcyp-zzWmL1iTiipFw5wi3ffuspsQ6%3D%2BGjyquTA%40mail.gmail.com.


Re: [sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-12 Thread Dima Pasechnik
Use conda, this is the most reliable solution for macOS:
https://doc.sagemath.org/html/en/installation/conda.html

On Fri, Mar 12, 2021 at 10:16 PM sylvain golenia
 wrote:
>
> Dear support team,
>
> I am struggling in launching SAGE on mac BigSur. I have reinstalled homebrew 
> and python3 and also opensll. I did the sage -f python3 and still had errors. 
> I am not at home with all these manipulations and tried what I found on 
> forums but could not go any further. Please find below my log.
>
> Thanks much for your support.
>
> Sincerely
> Sylvain
>
> 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).
>
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: No 
> such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: exec: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
> cannot execute: No such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: No 
> such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: exec: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
> cannot execute: No such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: No 
> such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: exec: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
> cannot execute: No such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: No 
> such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: exec: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
> cannot execute: No such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: No 
> such file or directory
> /Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
> 532: exec: 
> /Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
> cannot execute: No such file or directory
>
> --
> 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/4740438e-a5fe-4b1f-a5fe-7f1d52ec89b4n%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/CAAWYfq1dL5%2B-OLzBBeL%3D6DRVDmA0Tzb3hr1b28Hfgqx-h57v0Q%40mail.gmail.com.


[sage-support] Cannot launch SAGE on MacOS BigSur

2021-03-12 Thread sylvain golenia
Dear support team,

I am struggling in launching SAGE on mac BigSur. I have reinstalled 
homebrew and python3 and also opensll. I did the sage -f python3 and still 
had errors. I am not at home with all these manipulations and tried what I 
found on forums but could not go any further. Please find below my log.

Thanks much for your support.

Sincerely
Sylvain

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).

/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: exec: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
cannot execute: No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: exec: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
cannot execute: No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: exec: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
cannot execute: No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: exec: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
cannot execute: No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
No such file or directory
/Applications/SageMath-9.2.app/Contents/Resources/sage/src/bin/sage: line 
532: exec: 
/Applications/SageMath-9.2.app/Contents/Resources/sage/local/bin/python3: 
cannot execute: No such file or directory

-- 
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/4740438e-a5fe-4b1f-a5fe-7f1d52ec89b4n%40googlegroups.com.