diff --git a/crates/uv-python/src/interpreter.rs b/crates/uv-python/src/interpreter.rs index 30cdc37d37cf..4457f14cc6ad 100644 --- a/crates/uv-python/src/interpreter.rs +++ b/crates/uv-python/src/interpreter.rs @@ -616,7 +616,8 @@ impl InterpreterInfo { tempdir.path().escape_for_python() ); let output = Command::new(interpreter) - .arg("-I") + .arg("-I") // Isolated mode. + .arg("-B") // Don't write bytecode. .arg("-c") .arg(script) .output()