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/1778.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Do not check if the package name exists as path.
2 changes: 1 addition & 1 deletion src/pipx/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def package_is_url(package: str, raise_error: bool = True) -> bool:


def package_is_path(package: str):
if os.path.sep in package or Path(package).exists():
if os.path.sep in package:
raise PipxError(
pipx_wrap(
f"""
Expand Down