pipx fails on some packages where pipsi works
See original GitHub issuepipx doesn’t find the binary for this package but pipsi does.
$ pipx install py-spy
No binaries associated with package py-spy.
$ pipx --version
0.12.3.3
$ pipsi --version
pipsi, version 0.9, python /usr/bin/python3
$ pipsi install py-spy
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/user/.local/venvs/py-spy/bin/python3
Also creating executable in /home/user/.local/venvs/py-spy/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
Collecting py-spy
Using cached https://files.pythonhosted.org/packages/26/c2/bacd6ff83b43e1eff51d0d93a1fc930daad02fa93c0499d6facece57f786/py_spy-0.1.10-py2.py3-none-manylinux1_x86_64.whl
Installing collected packages: py-spy
Successfully installed py-spy-0.1.10
Linked script /home/user/.local/bin/py-spy
Done.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Troubleshooting - pipx
If installation into this "virtual environment" using pip fails, then it's likely that the problem is with the package or your host system....
Read more >Making spec the argument of install · Issue #147 · pypa/pipx
I am quite confused why the package name I give pipx wouldn't normally be passed to pip install. I don't see any explanation...
Read more >Pipx failed to build packages - Stack Overflow
I received the same error, and was finally able to resolve after running the following commands: Using Homebrew: brew install recordclass.
Read more >pipx · PyPI
pipx : execute binaries from Python packages in isolated environments ... ships with npm - and Python's pipsi. pipx does not ship with...
Read more >virtualenv Lives! - Hynek Schlawack
Setting up Python to the point to be able install packages from PyPI can be ... by installing some shiny package you heard...
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 FreeTop 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
Top GitHub Comments
@cs01 Thanks for checking. It works for me too on the latest pipx.
@amcgregor nice! I am a big fan of venv and I use a similar shell function I called
venvhere
which I think does the same thing as yourvenv
function :It is only a good idea for certain workflows. I agree that creating and manually managing venv’s for development of a project is the best way to do it. pipx is definitely not meant to be a replacement for all venv interactions.
Its goal is to make CLI binaries accessible globally, that’s it. Using venv is the best way for pipx to do that. pipx saves you a few steps, and makes a single UI to list, upgrade, uninstall, these binaries/packages. I actually don’t know of an easy way to know which entry points a package offers other than using pipx or inspecting the package’s source code.
If you don’t find value in it, that is totally fine! No need to use it. I made it to solve a problem: simplify and improve the installation process of another Python program I made.