Sympy returning empty list as solution