diff --git a/benchmarks/libero-plus/scheduler.py b/benchmarks/libero-plus/scheduler.py index 39b6f61d..3cf66f46 100644 --- a/benchmarks/libero-plus/scheduler.py +++ b/benchmarks/libero-plus/scheduler.py @@ -1266,7 +1266,10 @@ def main(argv: list[str] | None = None) -> int: if args.num_trials is None: args.num_trials = 1 args.ckpt_dir = args.ckpt_dir.expanduser().resolve() - args.server_python = args.server_python.expanduser().resolve() + # Never resolve the interpreter: a virtualenv's bin/python is a symlink to + # the base interpreter, and executing that target directly leaves the venv + # undetected, so its site-packages never reach the server's sys.path. + args.server_python = args.server_python.expanduser().absolute() # Preserve the public default aliases in logs and manifests instead of # exposing an implementation-specific physical environment directory. args.libero_python = args.libero_python.expanduser().absolute() diff --git a/benchmarks/libero/scheduler.py b/benchmarks/libero/scheduler.py index 0afcfe73..0a29c30e 100644 --- a/benchmarks/libero/scheduler.py +++ b/benchmarks/libero/scheduler.py @@ -1200,7 +1200,10 @@ def main(argv: list[str] | None = None) -> int: if args.num_trials is None: args.num_trials = 50 args.ckpt_dir = args.ckpt_dir.expanduser().resolve() - args.server_python = args.server_python.expanduser().resolve() + # Never resolve the interpreter: a virtualenv's bin/python is a symlink to + # the base interpreter, and executing that target directly leaves the venv + # undetected, so its site-packages never reach the server's sys.path. + args.server_python = args.server_python.expanduser().absolute() # Preserve the public default aliases in logs and manifests instead of # exposing an implementation-specific physical environment directory. args.libero_python = args.libero_python.expanduser().absolute()