Skip to content

Add --venv argument

Cory Quammen requested to merge cory.quammen/paraview:21669-venv-arg into master

All ParaView executables have a new --venv command-line argument for ParaView builds where Python is enabled. The path supplied for this argument is the path to a virtual environment that will be activated for the Python environment in these programs.

Usage example:

pvpython --venv=/absolute/path/to/environment -m my_awesome_module

where my_awesome_module is installed in the Python environment that is loaded.

The virtual environment will be available in Programmable Source, Programmable Filter, and the Python Shell.

Closes #21669 (closed)

Edited by Cory Quammen

Merge request reports