Generator expression must be parenthesized if not sole argument

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 sole argument and points to the following line:

kw = {'skipArrayCast':True} if isComplexArray else {}
r = ooPoint((v, x[S.oovar_indexes[i]:S.oovar_indexes[i+1]]) for i, v in enumerate(S._variables), **kw)

Any ideas what to change the line starting with “r = “ to to get it to work?

I’m using a Python 3 version.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)