I've been browsing everywhere to find the answer but nothing. So I tried it myself with code like below but still failed.
import numpy as np
from sympy import *
x = symbols("x", real=True)
init_printing(use_unicode=True)
ekpr = (3*x - 2 < 2*x 1)
sol = [solve(ekpr, x) for x in np.arange(0, 5, 1)]
sol
the output is like this:
3⋅x - 2 < 2⋅x 1
[