I have a case where I cannot run paraview server manager commands from Python Shell in Paraview where there is local Python installation. When I load a case and enter the command GetActiveSource() , it will fail. If I rename the local installation site packages folder, everything works fine. Is there a way to exclude the local site module from the Python Shell sys.path so that this conflict will not occur?
Thanks
For reference, it looks similar to this reported issue: https://gitlab.kitware.com/paraview/paraview/-/issues/22384
From pvpython
, it suggests to run it with -S
option. But for paraview
no better idea than your workaround.