How can I replace a line in code:

from sage.all import *

to make the script work?

вторник, 14 марта 2023 г. в 14:23:33 UTC+3, Dima Pasechnik: 

> On Tue, Mar 14, 2023 at 11:06 AM Dew Debra <mob...@gmail.com> wrote:
> >
> > Can you help me.
> >
> > I updated the cysignals module
> >
> > through
> >
> > pip3 install cysignals
>
> after this, nothing is guaranteed. You might want to revert this.
>
> >
> > Now I am getting this 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 83, in <module>
> > import sage.misc.lazy_import
> > ModuleNotFoundError: No module named 'sage.misc.lazy_import'
> >
> > Now how do I install 'sage.misc.lazy_import' ???
> >
> >
> > вторник, 14 марта 2023 г. в 13:42:27 UTC+3, Dima Pasechnik:
> >>
> >> On Tue, Mar 14, 2023 at 10:38 AM Dew Debra <mob...@gmail.com> wrote:
> >> >
> >> >
> >> > How exactly to install newer Sage version (9.8 is our current
> >> > release) on Ubuntu 20.04?
> >>
> >> https://doc.sagemath.org/html/en/installation/index.html#linux
> >>
> >> The easiest might be via conda-forge:
> >> 
> https://doc.sagemath.org/html/en/installation/conda.html#installing-all-of-sagemath-from-conda-not-for-development
> >
> > --
> > 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/30b5d09f-aa4e-4100-9ab0-dff49b00db0an%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/6ea01f85-32cf-4342-bd90-ba938ab3f08bn%40googlegroups.com.

Reply via email to