Skip to content

pipx has trouble installing/running coala-bears #14

@guykisel

Description

@guykisel

Hi, pipx looks like a cool tool!

I'm trying to run a meta-linter named https://coala.io/ in pipx. Coala installs a lot of dependencies that often end up conflicting with other installed tools, so pipx seems perfect for running it. However, the recommended installation for Coala is pip3 install coala-bears, which installs the Python coala package (which includes the binary you actually run) as a dependency. Because of the indirect nature of making the binary available, pipx seems to be unable to find it.

$ pipx install coala-bears
No binaries associated with this package.

Running pipx install coala directly does work, but results in not having any of the necessary dependencies to run the various linters.

After running pipx install coala-bears, I actually can successfully run pipx coala even though it claimed there were no binaries. However, I'm unable to pass in arguments:

$ pipx coala --show-bears
usage: 
    pipx [--spec SPEC] [--python PYTHON] BINARY [BINARY-ARGS]
    pipx {install,upgrade,upgrade-all,uninstall,uninstall-all,list} [--help]
pipx: error: unrecognized arguments: --show-bears

I realize there's a lot of information to absorb here :P Is there anything obvious I'm doing wrong?

(additional note: pipsi also has a hard time with coala-bears, so I think coala is a bit of an edge case as far as trying to run Python stuff in an isolated environment)

For reference:

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions