We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0d7e9 commit c4e440eCopy full SHA for c4e440e
src/pip/_internal/req/req_install.py
@@ -665,11 +665,11 @@ def ensure_pristine_source_checkout(self) -> None:
665
# version inconsistencies are logged later, but do not fail
666
# the installation.
667
raise PreviousBuildDirError(
668
- "pip can't proceed with requirements '{}' due to a "
669
- "pre-existing build directory ({}). This is likely "
+ f"pip can't proceed with requirements '{self}' due to a "
+ f"pre-existing build directory ({self.source_dir}). This is likely "
670
"due to a previous installation that failed . pip is "
671
"being responsible and not assuming it can delete this. "
672
- "Please delete it and try again.".format(self, self.source_dir)
+ "Please delete it and try again."
673
)
674
675
# For editable installations
0 commit comments