Traceback (most recent call last):


 "...\stub.py", line 6, in <module>

solveset(function, x, S.Reals)


 "...\AppData\Local\Programs\Python\Python36\lib\site-packages\sympy\solvers\solveset.py", line 1127, in solveset

return solveset(f.xreplace({symbol: r}), r, domain


 "...\AppData\Local\Programs\Python\Python36\lib\site-packages\sympy\solvers\solveset.py", line 1145, in solveset

return _solveset(f, symbol, domain, _check=True)


 "...\AppData\Local\Programs\Python\Python36\lib\site-packages\sympy\solvers\solveset.py", line 942, in _solveset

solver)


 "...\AppData\Local\Programs\Python\Python36\lib\site-packages\sympy\solvers\solveset.py", line 717, in _solve_radical

eq, cov = unrad(f)
TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):


 "<stdin>", line 1, in <module>
TypeError: nearest() got an unexpected keyword argument 'limit'
