Skip to content

Commit

Permalink
fix: Can not find the bin files when using python venv on windows (#3664
Browse files Browse the repository at this point in the history
)
  • Loading branch information
NavyD authored Dec 18, 2024
1 parent bc22e7c commit a4ab84f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/env_directive/venv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ impl EnvResults {
}
}
if venv.exists() {
r.env_paths.insert(0, venv.join("bin"));
r.env_paths
.insert(0, venv.join(if cfg!(windows) { "Scripts" } else { "bin" }));
env.insert(
"VIRTUAL_ENV".into(),
(
Expand Down

0 comments on commit a4ab84f

Please sign in to comment.