Paraview in PowerShell/Pycharm

Paraview 5.10.0-RC1
I am trying to Play an animation.
Tried to add a botton with tkinter to Play it, but the button doesn’t even shows. And the animation went “no response”


top = tkinter.Tk()
B = tkinter.Button(top, text ="Hello", command = scene.Play())
B.pack()
top.mainloop()

Interact()

Right now i have this:

I do not see any code to play the animation here

I already add tried with this code

scene.Play()
Interact()

and

def donothing():
   scene.Play()
top = tkinter.Tk()
B = tkinter.Button(top, text ="Play", command = donothing)
B.pack()
top.mainloop()
Interact()

In the first code. The animation starts and when i try to select a window the program goes “No response”.
And with tkinter goes rigth to “no response”

What if you use AnimateReader from simple.py ?

Change Interact to AnimateRender? For me has the same behavior as Interact

scene.Play()
#Interact()
AnimateRender()

If I change scene.Play() to AnimateRender The program starts then automaticly shutdown

#scene.Play()
AnimateRender()
Interact()