Error connecting points by Programmable Filter

I got it working. The problem was a wrong python path which led to my Anaconda environment and not to the system python.
I rebuild paraview using the system python and everything works…