First off, thanks again for making pipx!
Installing Ansible with pipx fails with "no binaries associated with this package".
Ansible is packaged in a fairly unique manner, as can be seen in the setup.py file and examining the bin folder. The main binary is ansible and other functionality such as ansible-playbook is a symlink to ansible.
I wouldn't expect this to be a quick fix but I did want to note this in an issue.
This should be fixed in v0.0.0.13.
I updated and it works great - thank you. You are absolutely killin' it with this project!
I'll be closing the Pipsi issue for additional maintainers soon. I'm hoping one of the maintainers is willing to put in a note on the main readme that Pipsi is essentially not maintained and a link to alternatives, such as Pipx.
Thanks that is really good to hear, especially from you. That issue you made was actually the motivation for me staring this project. I love the concept of pipsi, but it wasn't working for me with python3 (it couldn't create virtualenvs for some reason) and I wanted to keep the momentum going somehow. I wasn't sure how pipx would be received by the community but it seems like so far so good.
For people coming here from Google like me, ansible 2.10+ now needs to be installed by pipx install ansible-base:
# pipx --version
# pipx install ansible
Note: Dependent package 'ansible-base<2.11,>=2.10.1' contains 11 apps
- ansible
- ansible-config
- ansible-connection
- ansible-console
- ansible-doc
- ansible-galaxy
- ansible-inventory
- ansible-playbook
- ansible-pull
- ansible-test
- ansible-vault
No apps associated with package ansible. Try again with '--include-deps' to include apps of dependent packages, which are listed above. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.
md5-361d68ff53ac692d7b9ef9fc7b0883cd
# pipx install ansible-base
installed package ansible-base 2.10.2, Python 3.8.5
These apps are now globally available
- ansible
- ansible-config
- ansible-connection
- ansible-console
- ansible-doc
- ansible-galaxy
- ansible-inventory
- ansible-playbook
- ansible-pull
- ansible-test
- ansible-vault
done! ✨ 🌟 ✨
md5-4229ee831bb3ed2e39e89c7dde2a0b77
# pipx inject pipx ansible
injected package ansible into venv pipx
done! ✨ 🌟 ✨
Most helpful comment
Thanks that is really good to hear, especially from you. That issue you made was actually the motivation for me staring this project. I love the concept of pipsi, but it wasn't working for me with python3 (it couldn't create virtualenvs for some reason) and I wanted to keep the momentum going somehow. I wasn't sure how pipx would be received by the community but it seems like so far so good.