pub fn run(
dev_tools_dir: &Path,
tool: &str,
packages: &[&str],
) -> Result<PathBuf>Expand description
Downloads and installs Python packages using pip in a virtual environment.
ยงErrors
- Executing the
python3 -m venvcommand fails or returns a non-zero exit status. - Executing the shell pipeline to activate the venv and install packages fails.
- A filesystem operation (create/read/write/remove) fails.