Re: [sage-support] Re: Removing packages and different versions of python

2022-04-18 Thread Jean-Florent Raymond
Thanks, that answers my questions! Le 15/04/2022 à 20:00, Matthias Koeppe a écrit : On Friday, April 15, 2022 at 12:39:23 AM UTC-7 Jean-Florent Raymond wrote: In order to test something I would like to remove from my sage install a python package that I installed (and updated) some time ago

[sage-support] Removing packages and different versions of python

2022-04-15 Thread Jean-Florent Raymond
Hello, In order to test something I would like to remove from my sage install a python package that I installed (and updated) some time ago. First question: How can I remove a package installed with "sage -i"? I found instructions in the doc to install packages, but nothing to remove them.

Re: [sage-support] List all shortest paths between two vertices in a graph

2021-08-25 Thread Jean-Florent Raymond
Hello, The function shortest_simple_paths returns an iterator with paths sorted by increasing length. Therefore if you only want paths of minimum length, you can iterate over the result of shortest_simple_paths and stop as soon as you encounter a longer path. That way you do not iterate over all

Re: [sage-support] fails to get graph_editor() to work

2020-08-31 Thread Jean-Florent Raymond
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 Raym

Re: [sage-support] fails to get graph_editor() to work

2020-08-31 Thread Jean-Florent Raymond
ee 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. >

Re: [sage-support] fails to get graph_editor() to work

2020-08-30 Thread Jean-Florent Raymond
; 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, >> >>

Re: [sage-support] fails to get graph_editor() to work

2020-08-29 Thread Jean-Florent Raymond
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

Re: [sage-support] How to search a usage of a specific function?

2020-05-13 Thread Jean-Florent Raymond
Hello, To show the description of a function, you can type the name of the function followed by a question mark ("Mod?" in your case) and press Enter. If you want to show the source of the function, you can do the same thing with two question marks instead ("Mod??"). Le 13/05/2020 à 15:35, GZ D

Re: [sage-support] Sage Crash Report

2020-04-23 Thread Jean-Florent Raymond
Hello, Did you try to rebuild since the upgrade? If you upgraded a package that sage needs, then sage might complain that it cannot find the version it was used to. It seems to be the case with libntl according to the crash report you attached: ImportError: libntl.so.35: cannot open shared

Re: [sage-support] building docs with sphinx-1.8.5 fails with existing _static

2020-04-23 Thread Jean-Florent Raymond
Hello, A workaround is to run "make" after "make doc-clean". It worked for me. Source: https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-devel/RHMEHCTp_pU/12BWV897AgAJ Related: https://github.com/sphinx-doc/sphinx/issues/7407 Best regards, Jean-Florent. Le 23/04/2020