On Tue, Sep 14, 2021 at 10:29 PM Dima Pasechnik <dimp...@gmail.com> wrote: > > On Tue, Sep 14, 2021 at 10:13 PM Dew Debra <mob...@gmail.com> wrote: > > > > All right > > https://colab.research.google.com > > I used the command > > !sudo apt-get install sagemath > > > > Can you explain what a module named 'sage.all_cmdline' is? > > I don't know, does > > import sage > > > work for you after the installation?
In fact, it won't work, as on Ubuntu 18.04 one has Sage 8.1, still based on Python2, and certainly you cannot expect this to work in Python3 notebook. Your best bet would be to install Conda, and use it to install Sage. > > > > > > вторник, 14 сентября 2021 г. в 21:24:02 UTC+3, dim...@gmail.com: > >> > >> On Tue, Sep 14, 2021 at 7:09 PM Matthias Koeppe > >> <matthia...@gmail.com> wrote: > >> > > >> > Report Ubuntu packaging bugs to Ubuntu. > >> > >> this is more interesting - the thing is run from Colab's ipython notebook, > >> i.e. on https://colab.research.google.com/.... > >> > >> Let me try if I can manage to install Sage there, one or another way. > >> > >> > >> > >> > > >> > > >> > On Tuesday, September 14, 2021 at 10:50:56 AM UTC-7 mob...@gmail.com > >> > wrote: > >> >> > >> >> I installed "Sage" on Google Colab > >> >> https://askubuntu.com/a/1159008/1033768 > >> >> > >> >> via the command: > >> >> > >> >> !sudo apt-get install build-essential m4 dpkg-dev > >> >> !sudo apt-get update > >> >> !sudo apt-get install sagemath > >> >> > >> >> I get the error: > >> >> > >> >> File "script.py", line 11, in <module> > >> >> from sage.all_cmdline import * > >> >> ModuleNotFoundError: No module named 'sage.all_cmdline' > >> >> > >> >> Google Colab works on > >> >> Description: Ubuntu 18.04.5 LTS > >> >> Codename: bionic > >> >> model name: AMD EPYC 7B12 > >> >> > >> >> > >> >> Why can't I install "Sage" ? What could be the reasons for this error? > >> > > >> > -- > >> > 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/40da8d16-4718-4365-9786-4d1411884b46n%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/5b98935d-e348-41aa-907d-64700c536982n%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/CAAWYfq3z%2BsYD_V%2B9Amax0RtLYsH%3D6JCwLmjuWEJJhyiC%3DPg38w%40mail.gmail.com.