On Tue, Mar 14, 2023 at 10:14 AM Dew Debra <mob...@gmail.com> wrote:
>
> I have a script.py that worked until today, but today it gave an error, 
> although when checking sage -v it says SageMath version 9.0, Release Date: 
> 2020-01-01
>
> using ubuntu 20.04
>
> on the first line is:
> from sage.all import *
>
> error:
>
> sage-python3 script.py
> Traceback (most recent call last):
>    File "/script.py", line 1, in <module>
>      from sage.all import *
>    File "/usr/lib/python3/dist-packages/sage/all.py", line 77, in <module>
>      from cysignals.signals import (AlarmInterrupt, SignalError,
>    File "/usr/lib/python3/dist-packages/cysignals/__init__.py", line 1, in 
> <module>
>      from .signals import AlarmInterrupt, SignalError, init_cysignals # noqa
> ModuleNotFoundError: No module named 'cysignals.signals'sage-python3 script.py
>
>
> Please tell me what is the reason for the error?

most probably you updated some Ubuntu packages, which broke Ubuntu's
package Sage.
Note that we are not maintaining it, it's an Ubuntu bug.

You might want to switch to a newer Sage version (9.8 is our current
release), anyway.
HTH
Dima

>
> --
> 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/eee740e0-9dcd-4f8c-82c3-27f629e06baan%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/CAAWYfq2yxtH9Ogergrot9R3dEs%3DXLdwFcXa3QXU2RGU4tYcqkw%40mail.gmail.com.

Reply via email to