Traceback (most recent call last):


 "G:\Python\Python37\lib\logging\__init__.py", line 1034, in emit

msg = self.format(record)


 "G:\Python\Python37\lib\logging\__init__.py", line 880, in format

return fmt.format(record)


 "G:\Python\Python37\lib\logging\__init__.py", line 619, in format

record.message = record.getMessage()


 "G:\Python\Python37\lib\logging\__init__.py", line 380, in getMessage

msg = msg % self.args
TypeError: not enough arguments for format string

Traceback (most recent call last):


 "orig.py", line 13, in <module>

lamb_v2 = sp.lambdify( flatten([a,b,c]), v2, modules='scipy' )


 "/usr/lib/python3/dist-packages/sympy/utilities/lambdify.py", line 470, in lambdify

funcstr = funcprinter.doprint(funcname, args, expr)


 "/usr/lib/python3/dist-packages/sympy/utilities/lambdify.py", line 695, in doprint

funcbody.append('return ({})'.format(self._exprrepr(expr)))


 "/usr/lib/python3/dist-packages/sympy/printing/codeprinter.py", line 101, in doprint

lines = self._print(expr).splitlines()


 "/usr/lib/python3/dist-packages/sympy/printing/printer.py", line 287, in _print

return getattr(self, printmethod)(expr, **kwargs)


 "/usr/lib/python3/dist-packages/sympy/printing/pycode.py", line 489, in _print_im

return "%s(%s)" % (self._module_format('numpy.imag', self._print(expr.args[0])))
TypeError: not enough arguments for format string
