deephaven_enterprise.venv

get_venv_path()[source]

Get the path to the virtual environment configured for this worker.

Return type:

str

Returns:

the path to the virtual environment configured for this worker

install(packages)[source]

Installs packages into the virtual environment using pip.

Parameters:

packages (List[str]) – the list of packages to install

Raises:

DHError – if pip is not found, or fails to install the requested packages

Return type:

None