to call yout paraview python script from another python project, you should take care of 2 things:
- specify environment so paraview.simple is found
- ensure version are compatible (from what I see, your paraview module is known to work for python 3.9 for instance)
See some more info in this thread.