Add hint to use a venv to pip sync --user (#3418)

This commit is contained in:
Zanie Blue
2024-05-07 08:50:23 -05:00
committed by GitHub
parent 24f38d7c22
commit 8e86cd0c73
+3 -1
View File
@@ -249,7 +249,9 @@ impl CompatArgs for PipSyncCompatArgs {
}
if self.user {
return Err(anyhow!("pip-sync's `--user` is unsupported."));
return Err(anyhow!(
"pip-sync's `--user` is unsupported (use a virtual environment instead)."
));
}
if self.client_cert.is_some() {