Actually the problem came from ipycanvas (https://github.com/martinRenou/ipycanvas/issues/117 ) and not sage. Downgrading to version 0.4.7 ( sage -pip install ipycanvas==0.4.7 ) solved the problem.
Le 31/08/2020 à 09:50, Dima Pasechnik a écrit : > On Mon, 31 Aug 2020, 08:29 Jean-Florent Raymond, <j-florent.raym...@uca.fr> > wrote: > >> Thanks for reporting this. >> On my machine it works with the version of sage I was using at the >> beginning of summer (version 9.2.beta1, release date: 2020-06-13) but >> fails when I compile the latest version from develop. >> I will investigate and try to fix this problem. >> > > a bunch of Jupyter-related packages has been updated since. > >> >> >> Le 31/08/2020 à 00:15, pong a écrit : >>> Thanks, sage --python setup.py install works for me as well! >>> >>> However, when I try the code in the README >>> >>> from phitigra import EditableGraph >>> eg = EditableGraph(graphs.RandomGNP(10, 0.5)) >>> eg.show() >>> >>> It gives a static picture of a graph. But I can't click to create new >> nodes >>> nor drag any node with a mouse. >>> On Sunday, August 30, 2020 at 2:13:55 PM UTC-7 dim...@gmail.com wrote: >>> >>>> On Sun, Aug 30, 2020 at 10:03 PM pong <wypo...@gmail.com> wrote: >>>>> >>>>> Hi Jean-Florent, >>>>> >>>>> I did exactly just that (see attachment) but it complains about the >> need >>>> of at least one requirement to install. >>>>> Please advise. >>>> >>>> how about just doing >>>> >>>> sage --python setup.py install >>>> >>>> in the root directory of phitigra ? >>>> it works for me. >>>>> >>>>> On Sunday, August 30, 2020 at 12:25:11 AM UTC-7 Jean-Florent Raymond >>>> wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> Yes, the directory where to run >>>>>> sage -pip install --upgrade --no-index -v . >>>>>> is the directory of the just cloned project (default: phitigra). >>>>>> There is no need to add 'phitigra' to the command line: pip will guess >>>>>> alone what to install from this directory. >>>>>> >>>>>> Jean-Florent. >>>>>> >>>>>> Le 30/08/2020 à 02:35, pong a écrit : >>>>>>> Thanks you. I clone the project but confused what to do next. In the >>>>>>> README, it saids >>>>>>> >>>>>>> Change to the root directory and run: >>>>>>> $ sage -pip install --upgrade --no-index -v . >>>>>>> >>>>>>> which root directory are we talking about? the phitigra directory? >>>>>>> Also should it be sage -pip install phitigra --upgrade -no-index -v? >>>>>>> >>>>>>> In any case, I couldn't get it install so I must be doing something >>>> wrong. >>>>>>> Please help. >>>>>>> >>>>>>> On Saturday, August 29, 2020 at 2:11:12 AM UTC-7 Jean-Florent >> Raymond >>>> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I recently started developing a replacement to graph_editor for the >>>>>>>> jupyter notebook, using ipywidgets and ipycanvas. >>>>>>>> You can find it at the following address : >>>>>>>> https://gitlab.limos.fr/jfraymon/phitigra >>>>>>>> >>>>>>>> This is still work in progress but the basic editor (adding removing >>>>>>>> vertices and edges, displaying the graph, etc.) works. >>>>>>>> One feature that this editor will have is that changes made to the >>>> graph >>>>>>>> outside of the editor will be automatically updated in the editor. >>>> This >>>>>>>> will for instance allow to display step by step the computation >> done >>>> by >>>>>>>> a function (for teaching, or debugging, or ...). >>>>>>>> >>>>>>>> Any feedback is welcome. >>>>>>>> >>>>>>>> Jean-Florent. >>>>>>>> >>>>>>>> Le 29/08/2020 à 08:27, pong a écrit : >>>>>>>>> I see. Is there a substitute for graph_editor()? It's fairly >>>> convenient. >>>>>>>>> >>>>>>>>> On Thursday, August 27, 2020 at 8:48:32 AM UTC-7 dim...@gmail.com >>>> wrote: >>>>>>>>> >>>>>>>>>> On Thu, Aug 27, 2020 at 4:45 PM pong <wypo...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Running sagemath 9.1 from a jupyter notebook >>>>>>>>>>> >>>>>>>>>>> When calling graph_editor() got the following error message. >>>>>>>>>>> How can I make the module 'sagenb' works again? >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> sagenb does not work with Python 3. You'd need Sage 9.1 (or >>>> earlier) >>>>>>>> built >>>>>>>>>> with Python2 in order to be able to use sagenb. >>>>>>>>>> >>>>>>>>>> And sagenb will be definitely gone in 9.2, which won't support >>>> Python 2. >>>>>>>>>> >>>>>>>>>> HTH >>>>>>>>>> Dima >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: ge.png] >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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/772c9f8f-e27f-4485-8add-ca97d51290bbn%40googlegroups.com >>>>>>>>>>> < >>>>>>>> >>>> >> https://groups.google.com/d/msgid/sage-support/772c9f8f-e27f-4485-8add-ca97d51290bbn%40googlegroups.com?utm_medium=email&utm_source=footer >>>>>>>>> >>>>>>>>>>> . >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>> >>>>> -- >>>>> 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/6a7f10e2-83c7-470d-91c2-4cd3d9f7bd6cn%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/151850eb-cac6-0a4a-5518-59407ccc628f%40uca.fr >> . >> > -- 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/e276e358-8d1b-0c7d-6391-9185ec089acd%40uca.fr.