A widget for interactive server-side ParaView rendering. Note that this requires a pre-existing ParaView installation and ParaView's python libraries to be locatable via $PYTHONPATH--see the scripts
folders for examples.
Note that both the regular and developer installs currently require nodejs (for npm) in addition to the regular tools.
For a regular user installation:
$ pip install git+https://github.com/NVIDIA/ipyparaview.git
$ jupyter nbextension enable --py --sys-prefix ipyparaview
From within a conda environment:
$ conda env create -f environment.yml
$ conda activate ipy_dev
$ ./rebuild.sh
To install for jupyterlab
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
$ jupyter labextension install ipyparaview
For a development installation (requires npm),
$ git clone https://github.com/NVIDIA/ipyparaview.git
$ cd ipyparaview
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipyparaview
$ jupyter nbextension enable --py --sys-prefix ipyparaview
$ jupyter labextension install js (*optional*)
Within a conda environment
$ conda activate ipy_dev
$ export LD_LIBRARY_PATH=$PVPATH/lib/
$ export PYTHONPATH=$PVPATH/lib/python3.7/site-packages/
$ jupyter notebook