ParaView 5.12-RC1 uses `~/.local` folder for python library instead of bundled python libs
Using the binary release of 5.12-RC1 of ParaView, it looks like the internal python runtime uses libraries from ~/.local
instead of the libraries available in the ParaView installation folder.
It's visible for the matplotlib path in the about dialog:
When I remove my ~/.local
folder the expected lib is loaded:
When using the local libraries, it creates weird errors when using the FindData panel:
Error: Failed to evaluate Expression '(mag(B_A) == 0)'. The following exception stack should provide additional developer specific information. This typically implies a malformed expression. Verify that the expression is valid.
Warning: In vtkPythonSelector.cxx, line 104
vtkPythonSelector (0xa2d9380): Could not invoke 'python_selector.execute()'
Traceback (most recent call last):
File "/home/francois/Documents/Paraview/ParaView-5.12.0-RC1-MPI-Linux-Python3.10-x86_64/lib/python3.10/site-packages/paraview/detail/python_selector.py", line 80, in execute
maskArray = calculator.compute(inputs, query, ns=elocals)
File "/home/francois/Documents/Paraview/ParaView-5.12.0-RC1-MPI-Linux-Python3.10-x86_64/lib/python3.10/site-packages/paraview/detail/calculator.py", line 167, in compute
retVal = eval(subEx, globals(), mylocals)
File "<string>", line 1, in <module>
NameError: name 'B_A' is not defined
Generic Warning: In vtkSelection.cxx, line 752
No values to evaluate because there was an error in the selection evaluator.
ERROR: In vtkExecutive.cxx, line 729
vtkPVCompositeDataPipeline (0x8dd5320): Algorithm vtkPVExtractSelection (0x94b0d50) returned failure for request: vtkInformation (0xa2b9b70)
Debug: Off
Modified Time: 1243144
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
I can't reproduce this issue with official binary of 5.11.0.