Python löst, wie man nur echte Werte findet

x = Symbol('x', real=True)
solve(..., x)
Smiling Skylark