Installing ParaView package#
Note
Using ParaView as a reader is a work in progress!
To install ParaView package:
The most generic way is to use
conda
:conda install -c conda-forge paraview
In ArchLinux, the ParaView package is built with system python, one can use:
sudo pacman -S paraview
In Ubuntu-based OS (release focal 20.04 and above):
sudo apt install paraview python3-paraview
In many ParaView distributions, the package is not packaged along with the system
python3
. Check by executingpython3 -c 'import paraview'
Instead it comes with a separate
pvpython
executable. Installingsnek5000
intopvpython
or to usesnek5000
in the “Python Shell” in ParaView GUI is a bit complicated. One possible hack is to create a virtual environment using the same Python version as inpvpython
and append the virtual environment’s site-packages path tosys.path
or environment variable$PYTHONPATH
.