diff --git a/crates/rattler_installs_packages/src/python_env/venv.rs b/crates/rattler_installs_packages/src/python_env/venv.rs index 5949fdaa..1cab3ac4 100644 --- a/crates/rattler_installs_packages/src/python_env/venv.rs +++ b/crates/rattler_installs_packages/src/python_env/venv.rs @@ -272,7 +272,7 @@ prompt = {}"#, for bin_name in python_bins.into_iter() { let venv_python_bin = venv_bin.join(bin_name); - if !venv_python_bin.exists() && venv_exe_path != venv_python_bin { + if (!venv_python_bin.exists() && !venv_python_bin.is_symlink()) && venv_exe_path != venv_python_bin { copy_file(venv_exe_path, &venv_python_bin)?; } }