Generator expression must be parenthesized if not sole argument

后端 未结 1 2039
既然无缘
既然无缘 2021-02-12 18:31

I\'m very new to Python and am trying to install the FuncDesigner package. It gives the following error:

Generator expression must be parenthesized if not

1条回答
  •  清酒与你
    2021-02-12 19:01

    ... Put the genex in parens, just like the error tells you to.

    r = ooPoint(((v, x[S.oovar_indexes[i]:S.oovar_indexes[i+1]]) for i, v in enumerate(S._variables)), **kw)
    

    0 讨论(0)
提交回复
热议问题