Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Hongyi Zhao
On Wednesday, April 5, 2023 at 7:46:54 PM UTC+8 Dima Pasechnik wrote: libgap.* and gap.* are different interfaces. We are in transition away from gap.* interface, please don't use it in new code. And don't mix them up in your code. Thank you for pointing this out. Best, Zhao -- You

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Dima Pasechnik
libgap.* and gap.* are different interfaces. We are in transition away from gap.* interface, please don't use it in new code. And don't mix them up in your code. On Wed, 5 Apr 2023, 11:07 Hongyi Zhao, wrote: > > > On Wednesday, April 5, 2023 at 5:49:20 PM UTC+8 Hongyi Zhao wrote: > > On

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Hongyi Zhao
On Wednesday, April 5, 2023 at 5:49:20 PM UTC+8 Hongyi Zhao wrote: On Wednesday, April 5, 2023 at 5:45:13 PM UTC+8 Hongyi Zhao wrote: On Wednesday, April 5, 2023 at 5:15:05 PM UTC+8 Jan Groenewald wrote: Hi On Wed, 5 Apr 2023 at 10:03, Hongyi Zhao wrote: But other alternatives didn't work

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Hongyi Zhao
On Wednesday, April 5, 2023 at 5:45:13 PM UTC+8 Hongyi Zhao wrote: On Wednesday, April 5, 2023 at 5:15:05 PM UTC+8 Jan Groenewald wrote: Hi On Wed, 5 Apr 2023 at 10:03, Hongyi Zhao wrote: But other alternatives didn't work either: sage: import sage.interfaces.gap as ggap sage:

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Hongyi Zhao
On Wednesday, April 5, 2023 at 5:15:05 PM UTC+8 Jan Groenewald wrote: Hi On Wed, 5 Apr 2023 at 10:03, Hongyi Zhao wrote: But other alternatives didn't work either: sage: import sage.interfaces.gap as ggap sage: ggap.gap_cmd="~/.local/bin/gap" sage: ggap.console()

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Jan Groenewald
Hi On Wed, 5 Apr 2023 at 10:03, Hongyi Zhao wrote: > But other alternatives didn't work either: > > sage: import sage.interfaces.gap as ggap > sage: ggap.gap_cmd="~/.local/bin/gap" > sage: ggap.console() > --- >

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Hongyi Zhao
On Wednesday, April 5, 2023 at 3:55:47 PM UTC+8 Dima Pasechnik wrote: On Wed, 5 Apr 2023, 01:02 Hongyi Zhao, wrote: See my following testing: Method 1: This works: sage: import sage.interfaces.gap sage: sage.interfaces.gap.gap_cmd = "~/.local/bin/gap" sage: gap.console() Method 2: This

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Dima Pasechnik
On Wed, 5 Apr 2023, 01:02 Hongyi Zhao, wrote: > See my following testing: > > Method 1: This works: > > sage: import sage.interfaces.gap > sage: sage.interfaces.gap.gap_cmd = "~/.local/bin/gap" > sage: gap.console() > > Method 2: This fails: > > sage: import sage.interfaces.gap as gap > this

[sage-support] gap.console() calling problem.

2023-04-04 Thread Hongyi Zhao
See my following testing: Method 1: This works: sage: import sage.interfaces.gap sage: sage.interfaces.gap.gap_cmd = "~/.local/bin/gap" sage: gap.console() Method 2: This fails: sage: import sage.interfaces.gap as gap sage: gap.gap_cmd="~/.local/bin/gap" sage: gap.console()