diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index e294107b29..2270c89e97 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -824,6 +824,7 @@ pub async fn handle_python_reqs( if let Some(host) = PIP_TRUSTED_HOST.as_ref() { command_args.extend(["--trusted-host", &host]); } + let mut envs = vec![("PATH", PATH_ENV.as_str())]; if let Some(http_proxy) = HTTP_PROXY.as_ref() { envs.push(("HTTP_PROXY", http_proxy)); @@ -834,6 +835,8 @@ pub async fn handle_python_reqs( if let Some(no_proxy) = NO_PROXY.as_ref() { envs.push(("NO_PROXY", no_proxy)); } + + tracing::debug!("pip install command: {:?}", command_args); let mut flock_cmd = Command::new(FLOCK_PATH.as_str()); flock_cmd