Matrix ([[1,2,3],[4,5,6],[7,8,9]])
(Matrix([ [1, 2, 3], [4, 5, 6], [7, 8, 9]])).inv()
(Matrix([ [1, 2, 3], [4, 5, 6], [7, 8, 9]])).eigenvals()
(Matrix([ [1, 2, 3], [4, 5, 6], [7, 8, 9]])).eigenvects()
Experiment with SymPy at SymPy Live.