Re: [sage-support] problem installing sage

2020-10-20 Thread Henri Girard
Sage is not wroking properly in wls2 as I suppose that's what you use. 
You should get the windows installer sagemath


Le 20/10/2020 à 22:43, Ryan Morrill a écrit :

Hi Jan,

I'm not at all familiar with ubuntu. I just downloaded it off of the 
microsoft store (I am running windows). Sorry I can't be of more help.


On Tue, Oct 20, 2020 at 1:55 PM Jan Groenewald > wrote:


Hi

On Tue, 20 Oct 2020 at 21:48, Ryan Morrill mailto:ryanwmorr...@gmail.com>> wrote:

I have been trying to install sage on an ubuntu shell, but
when I type in

./sage

I get the errors:

/usr/bin/env: ‘python’: No such file or directory
Error running the script 'relocate-once.py'.


How did you install sage? What version of Ubuntu?

Regards,
Jan


-- 
  .~.

  /V\ Jan Groenewald
 /( )\ www.aims.ac.za 
 ^^-^^
-- 
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/CAAg%3Dp_1EfMc9Qh53QqcFoxjqc%3DEV1hZA%3Dnn16to9j0G5AnAosw%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/CAAqvu37UwZ%3Dmfu_Vz_b%2Bn2TETxH_0viOvqrtGtK1xLi71EfVsA%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/9c29188c-2dad-8ed3-2e58-6475681cc075%40gmail.com.


Re: [sage-support] problem installing sage

2020-10-20 Thread karima...@gmail.com
Download Sage from the source code (https://www.sagemath.org/),  I did it 
on my Ubuntu-20.04 successfully following a video tutorial on its 
installation, Here is the link to that 
https://www.youtube.com/watch?v=obtYxRDWAqU&list=PLKoFaw520YGVNQq-GE6QZTa6yUI7LWDV4&index=1&t=9s
.

First, read out the installation guide (for Linux)  from the official 
website of SageMath and install all the prerequisites mentioned over there. 
Be careful in setting the directory for Sage on your system. Else I am not 
the expert, just a sage user and I have a little idea of installation 
because I also had confronted installation errors.

May be helpful a bit 

On Wednesday, October 21, 2020 at 1:46:58 AM UTC+5 ryanwm...@gmail.com 
wrote:

> Hi Jan,
>
> I'm not at all familiar with ubuntu. I just downloaded it off of the 
> microsoft store (I am running windows). Sorry I can't be of more help.
>
> On Tue, Oct 20, 2020 at 1:55 PM Jan Groenewald  wrote:
>
>> Hi
>>
>> On Tue, 20 Oct 2020 at 21:48, Ryan Morrill  wrote:
>>
>>> I have been trying to install sage on an ubuntu shell, but when I type in
>>>
>>> ./sage
>>>
>>> I get the errors:
>>>
>>> /usr/bin/env: ‘python’: No such file or directory
>>> Error running the script 'relocate-once.py'.
>>>
>>
>> How did you install sage? What version of Ubuntu?
>>
>> Regards,
>> Jan
>>
>>
>> -- 
>>   .~. 
>>   /V\ Jan Groenewald
>>  /( )\www.aims.ac.za
>>  ^^-^^ 
>>
>> -- 
>> 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/CAAg%3Dp_1EfMc9Qh53QqcFoxjqc%3DEV1hZA%3Dnn16to9j0G5AnAosw%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/130c9008-3b82-4b8b-91d7-d543a879308en%40googlegroups.com.


Re: [sage-support] problem installing sage

2020-10-20 Thread Ryan Morrill
Hi Jan,

I'm not at all familiar with ubuntu. I just downloaded it off of the
microsoft store (I am running windows). Sorry I can't be of more help.

On Tue, Oct 20, 2020 at 1:55 PM Jan Groenewald  wrote:

> Hi
>
> On Tue, 20 Oct 2020 at 21:48, Ryan Morrill  wrote:
>
>> I have been trying to install sage on an ubuntu shell, but when I type in
>>
>> ./sage
>>
>> I get the errors:
>>
>> /usr/bin/env: ‘python’: No such file or directory
>> Error running the script 'relocate-once.py'.
>>
>
> How did you install sage? What version of Ubuntu?
>
> Regards,
> Jan
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
>
> --
> 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/CAAg%3Dp_1EfMc9Qh53QqcFoxjqc%3DEV1hZA%3Dnn16to9j0G5AnAosw%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/CAAqvu37UwZ%3Dmfu_Vz_b%2Bn2TETxH_0viOvqrtGtK1xLi71EfVsA%40mail.gmail.com.


Re: [sage-support] problem installing sage

2020-10-20 Thread Jan Groenewald
Hi

On Tue, 20 Oct 2020 at 21:48, Ryan Morrill  wrote:

> I have been trying to install sage on an ubuntu shell, but when I type in
>
> ./sage
>
> I get the errors:
>
> /usr/bin/env: ‘python’: No such file or directory
> Error running the script 'relocate-once.py'.
>

How did you install sage? What version of Ubuntu?

Regards,
Jan


-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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/CAAg%3Dp_1EfMc9Qh53QqcFoxjqc%3DEV1hZA%3Dnn16to9j0G5AnAosw%40mail.gmail.com.


[sage-support] problem installing sage

2020-10-20 Thread Ryan Morrill
I have been trying to install sage on an ubuntu shell, but when I type in

./sage

I get the errors:

/usr/bin/env: ‘python’: No such file or directory
Error running the script 'relocate-once.py'.

-- 
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/51187238-4c6e-49a0-881d-bc1e27533c2dn%40googlegroups.com.


Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
Oh.  Durn.  Thought I had corrected those.  Thanks

On Tuesday, October 20, 2020 at 2:02:35 PM UTC-5 Carl Eberhart wrote:

> Thanks, but the sage file I am trying to load is one I have loaded many 
> times before on the cloud and also on a local installation of Sagemath 
> 8.6.   It looks like it may be an instance of missing a change from <> to 
> != in the source code of preparse_file.
>
> On Monday, October 19, 2020 at 12:41:00 PM UTC-5 dim...@gmail.com wrote:
>
>> On Mon, Oct 19, 2020 at 6:36 PM Carl Eberhart  
>> wrote:
>> >
>> > I can't load a sage file in either the notebook or terminal version of 
>> Sage
>> > Here is my last (of many) attempts.
>> > sage: load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage")
>> > Traceback (most recent call last):
>> >
>> > File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", 
>> line 3331, in run_code
>> > exec(code_obj, self.user_global_ns, self.user_ns)
>> >
>> > File "", line 1, in 
>> > load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage")
>> >
>> > File "sage/misc/persist.pyx", line 144, in sage.misc.persist.load 
>> (build/cythonized/sage/misc/persist.c:2538)
>> > sage.repl.load.load(filename, globals())
>> >
>> > File "/usr/lib/python3/dist-packages/sage/repl/load.py", line 272, in 
>> load
>> > exec(preparse_file(f.read()) + "\n", globals)
>> >
>> > File "", line 121
>> > if s<>_sage_const_0 :
>> > ^
>> > SyntaxError: invalid syntax
>>
>> it is certainly possible to create a (broken) Sage file that would not
>> work. Perhaps it's one of such errors?
>> Could you reproduce this on a file you are willing to post here?
>> E.g. something very short, preferably.
>>
>>
>> >
>> > --
>> > 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/33b51a9f-ca07-4c03-9d68-25fb085d6d14n%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/6742017b-7409-48a6-9f16-0335cf6eaaffn%40googlegroups.com.


Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
Thanks, but the sage file I am trying to load is one I have loaded many 
times before on the cloud and also on a local installation of Sagemath 
8.6.   It looks like it may be an instance of missing a change from <> to 
!= in the source code of preparse_file.

On Monday, October 19, 2020 at 12:41:00 PM UTC-5 dim...@gmail.com wrote:

> On Mon, Oct 19, 2020 at 6:36 PM Carl Eberhart  wrote:
> >
> > I can't load a sage file in either the notebook or terminal version of 
> Sage
> > Here is my last (of many) attempts.
> > sage: load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage")
> > Traceback (most recent call last):
> >
> > File "/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py", 
> line 3331, in run_code
> > exec(code_obj, self.user_global_ns, self.user_ns)
> >
> > File "", line 1, in 
> > load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage")
> >
> > File "sage/misc/persist.pyx", line 144, in sage.misc.persist.load 
> (build/cythonized/sage/misc/persist.c:2538)
> > sage.repl.load.load(filename, globals())
> >
> > File "/usr/lib/python3/dist-packages/sage/repl/load.py", line 272, in 
> load
> > exec(preparse_file(f.read()) + "\n", globals)
> >
> > File "", line 121
> > if s<>_sage_const_0 :
> > ^
> > SyntaxError: invalid syntax
>
> it is certainly possible to create a (broken) Sage file that would not
> work. Perhaps it's one of such errors?
> Could you reproduce this on a file you are willing to post here?
> E.g. something very short, preferably.
>
>
> >
> > --
> > 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/33b51a9f-ca07-4c03-9d68-25fb085d6d14n%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/2c68aba5-e746-469f-9c4e-b71cef674550n%40googlegroups.com.


[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Matthias Koeppe
On Tuesday, October 20, 2020 at 11:57:21 AM UTC-7, Carl Eberhart wrote:
>
> Thanks.   After looking for the definition of of preparse_file it appears 
> that it is imported from a binary file.  Will I have to download the source 
> and recompile to fix this?
>

Your code  in orthogtraps19.sage likely contains <> and needs updating.


-- 
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/54b75ed5-be5d-427b-a6bf-56bfdef2f542o%40googlegroups.com.


[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
Thanks.   After looking for the definition of of preparse_file it appears 
that it is imported from a binary file.  Will I have to download the source 
and recompile to fix this?
Carl

On Monday, October 19, 2020 at 4:15:27 PM UTC-5 Matthias Koeppe wrote:

> On Monday, October 19, 2020 at 10:36:05 AM UTC-7, Carl Eberhart wrote:
>
>> I can't load a sage file in either the notebook or terminal version of 
>> Sage
>>
>   File "", line 121
>> if s<>_sage_const_0 :
>>  ^
>> SyntaxError: invalid syntax
>>
>
> The syntax <> for "not equal"  is no longer valid in Python 3. Use != 
> instead.
>

-- 
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/11be8a16-7579-4454-975b-926fb4055de4n%40googlegroups.com.


Re: [sage-support] Problems installing Sagemath 9.0

2020-10-20 Thread Dima Pasechnik
On Tue, Oct 20, 2020 at 6:12 PM Carl Eberhart  wrote:
>
> I am running Ubuntu Mate 20.04 on a raspberry pi 4, and have installed 
> Sagemath 9.0 using the Synaptic package manager.  I can open a python3 
> notebook, but the sagemath 9.0 kernel refuses to start.  Can someone make a 
> suggestion?


This is not likely to work. Sage 9.0 was released with notebook
version 5.7.6, whereas I think Ubuntu 20.04 ships
notebook version 6.0.3.

Your best bet is to build Sage 9.2 (a recent beta) or Sage 9.1 from source.



> Here is a transcript of my last attempt.
>
> ## I have installed sagemath 9.0 on a Rasberry Pi 4 running Ubuntu Mate 20.04
> ## at 64 bits using the synaptic package manager
> ## Here is an attempt to use sagemath
> carl@pi:~$ jupyter-notebook
> [I 15:37:12.668 NotebookApp] Serving notebooks from local directory: 
> /home/carl
> [I 15:37:12.668 NotebookApp] The Jupyter Notebook is running at:
> [I 15:37:12.668 NotebookApp] 
> http://localhost:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
> [I 15:37:12.668 NotebookApp]  or 
> http://127.0.0.1:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
> [I 15:37:12.668 NotebookApp] Use Control-C to stop this server and shut down 
> all kernels (twice to skip confirmation).
> [C 15:37:12.760 NotebookApp]
>
> To access the notebook, open this file in a browser:
> file:///home/carl/.local/share/jupyter/runtime/nbserver-3527-open.html
> Or copy and paste one of these URLs:
> 
> http://localhost:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
>  or 
> http://127.0.0.1:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
>
> ## Here I open a new python 3 notebook, make a small calculation and save
> ## the notebook as sample.ipnb
>
> I 15:39:55.786 NotebookApp] Creating new notebook in
> [I 15:40:00.625 NotebookApp] Kernel started: 
> 23c8750f-bb85-4630-a70e-1cdd0cc62a4e
> [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
> [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
> [I 15:42:00.649 NotebookApp] Saving file at /Untitled4.ipynb
> [I 15:48:00.640 NotebookApp] Saving file at /Untitled4.ipynb
> [W 15:48:52.363 NotebookApp] 404 GET 
> /api/contents/sample.ipynb?type=notebook&content=0&_=1603053598159 
> (127.0.0.1): No such file or directory: sample.ipynb
> [W 15:48:52.364 NotebookApp] No such file or directory: sample.ipynb
> [W 15:48:52.364 NotebookApp] 404 GET 
> /api/contents/sample.ipynb?type=notebook&content=0&_=1603053598159 
> (127.0.0.1) 2.84ms 
> referer=http://localhost:/notebooks/Untitled4.ipynb?kernel_name=python3
> [I 15:48:52.401 NotebookApp] Uploading file to /sample.ipynb
> [I 15:50:41.579 NotebookApp] Saving file at /sample.ipynb
>
> ## Now I try to open a new Sagemath 9.0 notebook without success.
>
> [I 15:55:16.334 NotebookApp] Creating new notebook in
> [I 15:55:24.775 NotebookApp] Kernel started: 
> 05b0ee0a-8753-48f8-9651-bd69a60da129
> Traceback (most recent call last):
>   File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
> return _run_code(code, main_globals, None,
>   File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
> exec(code, run_globals)
>   File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/__main__.py", 
> line 3, in 
> IPKernelApp.launch_instance(kernel_class=SageKernel)
>   File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
> 663, in launch_instance
> app.initialize(argv)
>   File "", line 2, in initialize
>   File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 
> 87, in catch_config_error
> return method(app, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 562, in 
> initialize
> self.init_kernel()
>   File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 439, in 
> init_kernel
> kernel = kernel_factory(parent=self, session=self.session,
>   File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", 
> line 412, in instance
> inst = cls(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/kernel.py", 
> line 52, in __init__
> SageJupyterCustomizations(self.shell)
>   File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", line 
> 435, in __init__
> import sage.all # until sage's import hell is fixed
>   File "/usr/lib/python3/dist-packages/sage/all.py", line 106, in 
> from sage.matrix.all import *
>   File "/usr/lib/python3/dist-packages/sage/matrix/__init__.py", line 2, in 
> 
> import sage.matrix.args
>   File "sage/matrix/args.pyx", line 23, in init sage.matrix.args 
> (build/cythonized/sage/matrix/args.c:21273)
> from .matrix_space import MatrixSpace
>   File "/usr/lib/python3/dist-packages/sage/matrix/matrix_space.py", line 46, 
> in 
> from . import matrix_modn_sparse
> ImportError: /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocat

[sage-support] Problems installing Sagemath 9.0

2020-10-20 Thread Carl Eberhart
I am running Ubuntu Mate 20.04 on a raspberry pi 4, and have installed 
Sagemath 9.0 using the Synaptic package manager.  I can open a python3 
notebook, but the sagemath 9.0 kernel refuses to start.  Can someone make a 
suggestion?
Here is a transcript of my last attempt.

## I have installed sagemath 9.0 on a Rasberry Pi 4 running Ubuntu Mate 
20.04 
## at 64 bits using the synaptic package manager
## Here is an attempt to use sagemath
carl@pi:~$ jupyter-notebook
[I 15:37:12.668 NotebookApp] Serving notebooks from local directory: 
/home/carl
[I 15:37:12.668 NotebookApp] The Jupyter Notebook is running at:
[I 15:37:12.668 NotebookApp] 
http://localhost:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
[I 15:37:12.668 NotebookApp]  or 
http://127.0.0.1:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
[I 15:37:12.668 NotebookApp] Use Control-C to stop this server and shut 
down all kernels (twice to skip confirmation).
[C 15:37:12.760 NotebookApp] 

To access the notebook, open this file in a browser:

file:///home/carl/.local/share/jupyter/runtime/nbserver-3527-open.html
Or copy and paste one of these URLs:

http://localhost:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a
 or 
http://127.0.0.1:/?token=f1eca39609cf60e86905004caf9543e902ae4e61a6a7ca3a

## Here I open a new python 3 notebook, make a small calculation and save
## the notebook as sample.ipnb

I 15:39:55.786 NotebookApp] Creating new notebook in 
[I 15:40:00.625 NotebookApp] Kernel started: 
23c8750f-bb85-4630-a70e-1cdd0cc62a4e
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
[I 15:42:00.649 NotebookApp] Saving file at /Untitled4.ipynb
[I 15:48:00.640 NotebookApp] Saving file at /Untitled4.ipynb
[W 15:48:52.363 NotebookApp] 404 GET 
/api/contents/sample.ipynb?type=notebook&content=0&_=1603053598159 
(127.0.0.1): No such file or directory: sample.ipynb
[W 15:48:52.364 NotebookApp] No such file or directory: sample.ipynb
[W 15:48:52.364 NotebookApp] 404 GET 
/api/contents/sample.ipynb?type=notebook&content=0&_=1603053598159 
(127.0.0.1) 2.84ms 
referer=http://localhost:/notebooks/Untitled4.ipynb?kernel_name=python3
[I 15:48:52.401 NotebookApp] Uploading file to /sample.ipynb
[I 15:50:41.579 NotebookApp] Saving file at /sample.ipynb

## Now I try to open a new Sagemath 9.0 notebook without success.  

[I 15:55:16.334 NotebookApp] Creating new notebook in 
[I 15:55:24.775 NotebookApp] Kernel started: 
05b0ee0a-8753-48f8-9651-bd69a60da129
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
  File 
"/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/__main__.py", line 
3, in 
IPKernelApp.launch_instance(kernel_class=SageKernel)
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", 
line 663, in launch_instance
app.initialize(argv)
  File "", line 2, in initialize
  File "/usr/lib/python3/dist-packages/traitlets/config/application.py", 
line 87, in catch_config_error
return method(app, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 562, 
in initialize
self.init_kernel()
  File "/usr/lib/python3/dist-packages/ipykernel/kernelapp.py", line 439, 
in init_kernel
kernel = kernel_factory(parent=self, session=self.session,
  File "/usr/lib/python3/dist-packages/traitlets/config/configurable.py", 
line 412, in instance
inst = cls(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/kernel.py", 
line 52, in __init__
SageJupyterCustomizations(self.shell)
  File "/usr/lib/python3/dist-packages/sage/repl/ipython_extension.py", 
line 435, in __init__
import sage.all # until sage's import hell is fixed
  File "/usr/lib/python3/dist-packages/sage/all.py", line 106, in 
from sage.matrix.all import *
  File "/usr/lib/python3/dist-packages/sage/matrix/__init__.py", line 2, in 

import sage.matrix.args
  File "sage/matrix/args.pyx", line 23, in init sage.matrix.args 
(build/cythonized/sage/matrix/args.c:21273)
from .matrix_space import MatrixSpace
  File "/usr/lib/python3/dist-packages/sage/matrix/matrix_space.py", line 
46, in 
from . import matrix_modn_sparse
ImportError: /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in 
static TLS block
[I 15:55:30.768 NotebookApp] KernelRestarter: restarting kernel (1/5), keep 
random ports
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
  File 
"/usr/lib/python3/dist-packages/sage/repl/ipython_kernel/__main__.py", line 
3, in