diff --git a/lzy/execution-env/src/main/java/ai/lzy/env/aux/CondaEnvironment.java b/lzy/execution-env/src/main/java/ai/lzy/env/aux/CondaEnvironment.java index 9a64c4190..b9021f647 100644 --- a/lzy/execution-env/src/main/java/ai/lzy/env/aux/CondaEnvironment.java +++ b/lzy/execution-env/src/main/java/ai/lzy/env/aux/CondaEnvironment.java @@ -189,6 +189,7 @@ private LzyProcess execInEnv(String command, @Nullable LogStream out) { public LzyProcess runProcess(String[] command, @Nullable String[] envp, @Nullable String workingDir) { List envList = new ArrayList<>(); envList.add("LOCAL_MODULES=" + baseEnvWorkingDir); + envList.add("PYTHONUNBUFFERED=1"); if (envp != null) { envList.addAll(Arrays.asList(envp)); }