pipx doesn't support local source dirs
See original GitHub issueDescribe the bug
With regular pip, it’s possible to install packages not only from pypi but also from local dirs, for example if you’ve cloned a git repository to develop on it, it’s possible to run pip install /local/path/to/git/repository (especially with -e option, although it’s not always useful). But pipx fails when doing the same thing.
How to reproduce
% pipx install /local/path/to/git/repository
Not installing to existing directory '/local/path/to/git/repository'. Pass '--force' to force installation
Expected behavior The package should be installed in a venv like a pypi package.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Installing local package fails · Issue #365 · pypa/pipx - GitHub
Describe the bug pipx fails to install a local package. ... Ah, checking location does not help, because pip would still “prefer” the...
Read more >pipx — Install and Run Python Applications in Isolated ...
By default, pipx uses the same package index as pip, PyPI. pipx can also install from all other sources pip can, such as...
Read more >pipx · PyPI
These files are located in the bin directory of a Python installation, ... pipx list venvs are in /home/user/.local/pipx/venvs binaries are ...
Read more >pip install - pip documentation v22.3.1
Local project directories. Local or remote source archives. pip also supports installing from “requirements files”, which provide an easy way to specify a ......
Read more >In-depth Installation - Meltano Documentation
Currently Python 3.7, 3.8, 3.9, and 3.10 are supported. Some plugins do not yet support Python 3.10. Install pipx #. pip is a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m going to close this, but feel free to reopen it if you find the same problem on a recent version of pipx.
pipx certainly does support installing from a local path.
Hmm, version 0.12.3.1 is pretty ancient (It’s over a year and a half old). Please try installing a new version of pipx and try again, there have been many many improvements since that version.
You can follow the user-install instructions to install a new version of pipx just for your user: https://pipxproject.github.io/pipx/installation/