Had the same problem. From my experience sympy can solve most of the z transforms but had problem with trig functions. Whilst lcapy could solve ZT of trig it had problems solving others so ended I up on using them both and can't complain now.