Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/1634.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add more specific directions in the logs towards a resolution if you have a space in the PIX_HOME path
12 changes: 12 additions & 0 deletions src/pipx/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,18 @@ def log_warnings(self):
subsequent_indent=" " * 4,
)
)
logger.warning(
pipx_wrap(
(f"{hazard} To see your PIPX_HOME dir: pipx environment --value PIPX_HOME"),
subsequent_indent=" " * 4,
)
)
logger.warning(
pipx_wrap(
(f"{hazard} Most likely fix on macOS: mv ~/Library/Application\\ Support/pipx ~/.local/"),
subsequent_indent=" " * 4,
)
)

fallback_home_exists = self._fallback_home is not None and self._fallback_home.exists()
specific_home_exists = self.home != self._fallback_home
Expand Down