Thanks. I tried "sage -n Jupyter", and my browser opened but without success in entering SAGE. I will install SAGA 8.1 to see if it works. Here is the message I got once typing "sage -n": ---------------
sage: notebook() --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-b5959bb24428> in <module>() ----> 1 notebook() /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.__call__ (build/cythonized/sage/misc/lazy_import.c:3684)() * 351* True * 352* """ --> 353 return self.get_object()(*args, **kwds) * 354* * 355* def __repr__(self): /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.get_object (build/cythonized/sage/misc/lazy_import.c:2347)() * 186* if likely(self._object is not None): * 187* return self._object --> 188 return self._get_object() * 189* * 190* cpdef _get_object(self): /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport._get_object (build/cythonized/sage/misc/lazy_import.c:2586)() * 218* elif self._at_startup and not startup_guard: * 219* print('Option ``at_startup=True`` for lazy import {0} not needed anymore'.format(self._name)) --> 220 self._object = getattr(__import__(self._module, {}, {}, [ self._name]), self._name) * 221* name = self._as_name * 222* if self._deprecation is not None: ModuleNotFoundError: No module named 'sagenb' On Sat, Apr 4, 2020 at 1:41 PM Dima Pasechnik <dimp...@gmail.com> wrote: > On Sat, Apr 4, 2020 at 9:10 PM Anita Rojas <rojas....@gmail.com> wrote: > > > > Thanks. Still not working :( > > Now I got: > > > > 500 : Internal Server Error > > > > in Chrome browser. > > What should I do? > > please post more details. > e.g. if I try running "sage -n" > in the terminal I see something like this: > > > $ ./sage -n > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath version 9.1.beta9, Release Date: 2020-03-29 │ > │ Using Python 3.7.3. Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ > ┃ Warning: this is a prerelease version, and it may be unstable. ┃ > ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ > Please wait while the SageNB export server starts... > [I 00:38:22.448 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js > [I 00:38:22.684 NotebookApp] Serving notebooks from local directory: > /home/dimpase/sage > [I 00:38:22.684 NotebookApp] The Jupyter Notebook is running at: > [I 00:38:22.684 NotebookApp] > > http://localhost:8888/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2 > [I 00:38:22.684 NotebookApp] Use Control-C to stop this server and > shut down all kernels (twice to skip confirmation). > [C 00:38:22.975 NotebookApp] > > To access the notebook, open this file in a browser: > file:///run/user/1000/jupyter/nbserver-10489-open.html > Or copy and paste one of these URLs: > > http://localhost:8888/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2 > > Please post what you're seeing. > > > As well, > > you might try running > > sage -n jupyter > > which should directly launch a jupyter notebook > > > > > > Sorry and deep thanks. > > > > On Sat, Apr 4, 2020 at 2:12 AM Dima Pasechnik <dimp...@gmail.com> wrote: > >> > >> > >> > >> On Sat, 4 Apr 2020, 12:25 Anita Rojas, <rojas....@gmail.com> wrote: > >>> > >>> Thanks. I did: > >>> > >>> sudo spctl --master-disable > >>> > >>> and it worked. I have a question: Did I leave my computer vulnerable > by doing so? > >> > >> > >> it depends upon settings of your usual account. If it allows > password-less automatic installation of random stuff from the net, then > yes... > >> > >>> > >>> Second: I was used to use notebook() but it did not work. . > >> > >> start Sage in the terminal as > >> > >> sage -n > >> > >> to get Jupyter notebook - or a convertor from sagenb (which is Python 2 > only, so it is being retired) > >>> > >>> > >>> Deep thanks for your help > >>> Anita > >>> > >>> > >>> > >>> > >>> > >>> On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik <dimp...@gmail.com> > wrote: > >>>> > >>>> yes, this is an issue due to Apple "improving" their security in the > latest MacOS. > >>>> > >>>> I believe there are instructions on > >>>> > https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/ > >>>> > >>>> and perhaps other posts there. > >>>> > >>>> On Sat, 4 Apr 2020, 11:47 Anita Rojas, <rojas....@gmail.com> wrote: > >>>>> > >>>>> Thanks a lot! > >>>>> I am installing a new version of sage. I have received several times > (more than 20) a message like > >>>>> > >>>>> macOS no puede verificar el desarrollador de la app “_ > sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla? > >>>>> > >>>>> Which means that the developer is unknown and it asks me if I want > to open it. It is a warning of malware. I have authorize its installation, > but I have been doing this one by one...is it ok? or usual? > >>>>> > >>>>> Thanks, and I am sorry for bothering you but I use sage regularly > and I do not want to lose it. > >>>>> Best, > >>>>> Anita > >>>>> > >>>>> > >>>>> > >>>>> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik <dimp...@gmail.com> > wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Sat, 4 Apr 2020, 11:11 Anita Rojas, <rojas....@gmail.com> wrote: > >>>>>>> > >>>>>>> Hi! I am far away of being a OSX guru, but I managed to get my > SAGE working. > >>>>>>> > >>>>>>> It use to work properly but now I got the following message: > >>>>>>> > >>>>>>> > >>>>>>> Error: Tried to use Sage's Python which was not yet installed. > >>>>>>> > >>>>>>> If this was called from an spkg-install script for another > >>>>>>> > >>>>>>> package you should add $(PYTHON) as a dependency in > >>>>>>> > >>>>>>> build/pkgs/<pkg>/dependencies > >>>>>>> > >>>>>>> > >>>>>>> I looked for solutions but I could not find answers. I would > appreciate help. > >>>>>> > >>>>>> > >>>>>> Probably a MacOS update broke your Sage installation. > >>>>>> > >>>>>> If so, reinstalling might be the only known way to fix this. > >>>>>> > >>>>>>> > >>>>>>> Best, > >>>>>>> > >>>>>>> Anita > >>>>>>> > >>>>>>> -- > >>>>>>> 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/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com > . > >>>>>> > >>>>>> -- > >>>>>> You received this message because you are subscribed to a topic in > the Google Groups "sage-support" group. > >>>>>> To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe. > >>>>>> To unsubscribe from this group and all its topics, 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/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com > . > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> Anita M. Rojas > >>>>> Departamento de Matemáticas > >>>>> Facultad de Ciencias > >>>>> Universidad de Chile > >>>>> > >>>>> > https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/ > >>>>> > >>>>> -- > >>>>> 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/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com > . > >>>> > >>>> -- > >>>> You received this message because you are subscribed to a topic in > the Google Groups "sage-support" group. > >>>> To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe. > >>>> To unsubscribe from this group and all its topics, 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/CAAWYfq0%3DR-2EVm5U%2BTgTn%3DRbORNDF_GTyUn4JcrQgWqjxm3bUA%40mail.gmail.com > . > >>> > >>> > >>> > >>> -- > >>> Anita M. Rojas > >>> Departamento de Matemáticas > >>> Facultad de Ciencias > >>> Universidad de Chile > >>> > >>> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/ > >>> > >>> -- > >>> 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/CAFV-Ve2qeTRsVVBux4pmyDANGbr8TqHOXqBzJuhhA0AvOB0qow%40mail.gmail.com > . > >> > >> -- > >> You received this message because you are subscribed to a topic in the > Google Groups "sage-support" group. > >> To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe. > >> To unsubscribe from this group and all its topics, 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/CAAWYfq3pmKYMtGuRfFi%2BKFT04y8VrT0barmgOLm5VZac3vfZBw%40mail.gmail.com > . > > > > > > > > -- > > Anita M. Rojas > > Departamento de Matemáticas > > Facultad de Ciencias > > Universidad de Chile > > > > https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/ > > > > -- > > 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/CAFV-Ve0YANV4Zan%2B_guhBxViF-55QActPFKiFsx34gKkkan-RA%40mail.gmail.com > . > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-support" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAAWYfq0j48OYX%3DW74EmMvaCtPjWWnGTUdYX81LoY9g8v6Y8rGA%40mail.gmail.com > . > -- Anita M. Rojas Departamento de Matemáticas Facultad de Ciencias Universidad de Chile https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/ -- 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/CAFV-Ve0dr8htv4q-f9%3D5ymM6_6aG_xjJOAXCPF64tJyfFgfSqA%40mail.gmail.com.