Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

error interact in 9.6 on my computer but not on sagecell

HI The code with interact still generate the same error in SageMath 9.6 in my computer than in 9.5 but this code in SageCell don't produce any error , why ?

when I type version() on sagecell I got:

'SageMath version 9.6, Release Date: 2022-05-15' same as mine.

@interact
def _(v=('vector', input_grid(1, 3, default=[[1,2,3]], to_value=lambda x: vector(flatten(x))))):
    print(v.norm())

related to question 63362 make-pb-when-installing-from-source

error interact in 9.6 on my computer but not on sagecell

HI HI

The code with interact still generate the same error in SageMath 9.6 in my computer than in 9.5 but this code in SageCell don't produce any error , why ?

when I type version() on sagecell I got:

'SageMath version 9.6, Release Date: 2022-05-15' same as mine.

@interact
def _(v=('vector', input_grid(1, 3, default=[[1,2,3]], to_value=lambda x: vector(flatten(x))))):
    print(v.norm())

related to question 63362 make-pb-when-installing-from-source

error interact in 9.6 on my computer but not on sagecell

HI

The code with interact still generate the same error in SageMath 9.6 in my computer than in 9.5 but this code in SageCell don't produce any error , why ?

when I type version() on sagecell I got:

'SageMath version 9.6, Release Date: 2022-05-15' same as mine.

@interact
def _(v=('vector', input_grid(1, 3, default=[[1,2,3]], to_value=lambda x: vector(flatten(x))))):
    print(v.norm())

TypeError: unable to find a common ring for all elements

related to question 63362 make-pb-when-installing-from-source