Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 7:43 PM Dew Debra wrote: > > I need to install SageMath version 9.7 in Google Colab, can this be done via > sudo apt-get install sagemath ? What exactly needs to be changed in the team? Google Colab is just a cloud UI to Python, you can't really "install" anything there.

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dew Debra
I need to install SageMath version 9.7 in Google Colab, can this be done via sudo apt-get install sagemath ? What exactly needs to be changed in the team? вторник, 14 марта 2023 г. в 14:49:03 UTC+3, dim...@gmail.com: > On Tue, Mar 14, 2023 at 04:40:09AM -0700, Dew Debra wrote: > > What should

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread dimpase
On Tue, Mar 14, 2023 at 04:40:09AM -0700, Dew Debra wrote: > What should I do in this case when I can only install Sage through the > terminal using the command: > > sudo apt-get install sagemath > > It's very strange since everything was working until today, and now I'm > getting an error. >

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dew Debra
What should I do in this case when I can only install Sage through the terminal using the command: sudo apt-get install sagemath It's very strange since everything was working until today, and now I'm getting an error. Help how to fix it? вторник, 14 марта 2023 г. в 14:34:48 UTC+3, Dima

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 11:28 AM Dew Debra wrote: > > How can I replace a line in code: > > from sage.all import * > > to make the script work? you are using Sage, right? Then, needless to say, you need to import things from sage, although "import *" may be a bit of overkill. In short - you

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dew Debra
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 wrote: > > > > Can you help me. > > > > I updated the cysignals module > > > > through > > > > pip3

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 11:06 AM Dew Debra 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

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dew Debra
*Can you help me.* I updated the cysignals module through pip3 install cysignals Now I am getting this error: sage -python3 script.py Traceback (most recent call last): File "/script.py", line 1, in from sage.all import * File "/usr/lib/python3/dist-packages/sage/all.py", line 83, in

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 10:38 AM Dew Debra 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:

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dew Debra
How exactly to install newer Sage version (9.8 is our current release) on Ubuntu 20.04? вторник, 14 марта 2023 г. в 13:21:56 UTC+3, Dima Pasechnik: > On Tue, Mar 14, 2023 at 10:14 AM Dew Debra wrote: > > > > I have a script.py that worked until today, but today it gave an error, > although

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 10:14 AM Dew Debra 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 * > >